If professional assistance is required, the services of a competent professional person should be sought.
Neither the publisher nor the author shall be liable for damages arising herefrom. Wiley also publishes its books in a variety of electronic formats.
Adjunct professor and applications developer Scott Danis was generous with his Auto LISP insights.
Professor Ed Fitzgerald filled many gaps in my knowledge of architectural design and technical graphics, and IT maestro Mike Cyr willingly discussed the arcane applications of DOS batch files whenever I asked. This book also benefited greatly from Monica Wood’s willingness to put her own writing on hold whenever I needed writing advice, which was shockingly often.
® Auto CAD SECRETS EVERY USER SHOULD KNOW DAN ABBOTT WILEY PUBLISHING, INC.
Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 5724355, or online at I am especially grateful to Tiffany Taylor, whose astonishing skill raises copy editing to a fine art.And a special thanks to the Maine Community College system and Southern Maine Community College for granting me a semester sabbatical to work on this book.Reducers have several attractive properties: Reducers are defined by writing C templates that provide an interface to the runtime system.At some point, you may want to write your own reducer.The advice and strategies contained herein may not be suitable for every situation.This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services.Reducers address the problem of computing a value by incrementally updating a variable in parallel code without data races on that variable.Conceptually, a reducer is a variable that can be safely used by multiple strands running in parallel.Replaced by DIMLUNIT and DIMFRAC DIMUPT Controls options for user-positioned text DIMZIN Controls the suppression of zeroes in the primary unit value DISPSILH Controls display of silhouette curves of solid objects in Wireframe mode DISTANCE Stores the distance computed by DIST DONUTID Sets the default for the inside diameter of a donut DONUTOD Sets the default for the outside diameter of a donut DRAGMODE Controls the display of objects being dragged DRAGP1 Sets the regen-drag input sampling rate DRAGP2 Sets the fast-drag input sampling rate DWGCHECK Determines whether a drawing was last edited by a product other than Auto CAD DWGCODEPAGE Stores the same value as SYSCODEPAGE (for compatibility reasons) DWGNAME Stores the drawing name as entered by the user DWGPREFIX Stores the drive/directory prefix for the drawing DWGTITLED Indicates whether the current drawing has been named E EDGEMODE Controls how TRIM and EXTEND determine cutting and boundary edges ELEVATION Stores the current elevation relative to the current UCS for the current viewport in the current space EXPERT Controls whether certain prompts are issued EXPLMODE Controls whether EXPLODE supports nonuniformly scaled (NUS) blocks EXTMAX Stores the upper-right point of the drawing extents EXTMIN Stores the lower-left point of the drawing extents EXTNAMES Sets the parameters for named object names (such as linetypes and layers) stored in symbol tables F FACETRATIO Controls the aspect ratio of faceting for cylindrical and conic ACIS solids FACETRES Adjusts the smoothness of shaded and rendered objects and objects with hidden lines removed FILEDIA Suppresses display of the file dialog boxes FILLETRAD Stores the current fillet radius FILLMODE Specifies whether multilines, traces, solids, all hatches (including solid-fill), and wide polylines are filled in FONTALT Specifies the alternate font to be used when the specified font file cannot be located FONTMAP Specifies the font mapping file to be used FRONTZ Stores the front clipping plane offset from the target plane for the current viewport FULLOPEN Indicates whether the current drawing is partially open G GRIDMODE Specifies whether the grid is turned on or off GRIDUNIT Specifies the grid spacing (X and Y) for the current viewport GRIPBLOCK Controls the assignment of grips in blocks GRIPCOLOR Controls the color of nonselected grips (drawn as box outlines) GRIPHOT Controls the color of selected grips (drawn as filled boxes) GRIPS Controls the use of selection set grips for the Stretch, Move, Rotate, Scale, and Mirror grip modes GRIPSIZE Sets the size of the grip box in pixels H HANDLES Reports whether object handles can be accessed by applications HIDEPRECISION Controls the accuracy of hides and shades HIGHLIGHT Controls object highlighting; does not affect objects selected with grips HPANG Specifies the hatch pattern angle HPBOUND Controls the object type created by BHATCH and BOUNDARY HPDOUBLE Specifies hatch pattern doubling for user-defined patterns HPNAME Sets a default hatch pattern name HPSCALE Specifies the hatch pattern scale factor HPSPACE Specifies the hatch pattern line spacing for user-defined simple patterns HYPERLINKBASE Specifies the path used for all relative hyperlinks in the drawing I IMAGEHLT Controls whether the entire raster image or only the raster image frame is hightlighted INDEXCTL Controls whether layer and spatial indexes are created and saved in drawing files INETLOCATION Stores the Internet location used by BROWSER and the Browse the Web dialog box INSBASE Stores insertion base point set by BASE INSNAME Sets a default block name for INSERT INSUNITS When you drag a block from Auto CAD Design Center, specifies a drawing units value INSUNITSDEFSOURCE Sets source content units value INSUNITSDEFTARGET Sets target drawing units value ISAVEBAK Improves the speed of incremental saves, especially for large drawings ISAVEPERCENT Determines the amount of wasted space tolerated in a drawing file ISOLINES Specifies the number of isolines per surface on objects L LASTANGLE Stores the end angle of the last arc entered LASTPOINT Stores the last point entered LASTPROMPT Stores the last string echoed to the command line LENSLENGTH Stores the length of the lens (in millimeters) used in perspective viewing for the current viewport LIMCHECK Controls the creation of objects outside the drawing limits LIMMAX Stores the upper-right drawing limits for the current space LIMMIN Stores the lower-left drawing limits for the current space LISPINIT When single-document interface is enabled, specifies whether Auto LISP-defined functions and variables are preserved when you open a new drawing LOCALE Displays the ISO language code of the current Auto CAD version LOGFILEMODE Specifies whether the contents of the text window are written to a log file LOGFILENAME Specifies the path and name of the log file LOGFILEPATH Specifies the path for the log files for all drawings in a session LOGINNAME Displays the user's name as configured or as input when Auto CAD is loaded LTSCALE Sets the global linetype scale factor LUNITS Sets linear units LUPREC Sets the number of decimal places displayed for linear units LWDEFAULT Sets the value for the default linweight LWDISPLAY Controls whether the lineweight is displayed in the Model or Layout tab LWUNITS Controls whether lineweight units are displayed in inches or millimeters M MAXACTVP Sets the maximum number of viewports that can be active at one time in the display MAXSORT Sets the maximum number of symbol names or block names sorted by listing commands MBUTTONPAN Controls the behavior of the third button or wheel on the pointing device MEASUREINIT Sets the initial drawing units as English or metric MEASUREMENT Sets drawing units as English or metric for the current drawing only MENUCTL Controls the page switching of the screen menu MENUECHO Sets menu echo and prompt control bits MENUNAME Stores the menu file name, including the path for the filename MIRRTEXT Controls how MIRROR reflects text MODEMACRO Displays a text string on the status line MTEXTED Sets the primary and secondary text editors to use for multiline text objects N NOMUTT Suppresses the message display (muttering) when it wouldn't normally be suppressed O OFFSETDIST Sets the default offset distance OFFSETGAPTYPE Controls how to offset polylines when a gap is created as a result of offsetting the individual polyline segments OLEHIDE Controls the display of OLE objects in Auto CAD OLEQUALITY Controls the default quality level for embedded OLE objects OLESTARTUP Controls whether the source application of an embedded OLE object loads when plotting ORTHOMODE Constrains cursor movement to the perpendicular OSMODE Sets running object snap modes using bitcodes OSNAPCOORD Controls whether coordinates entered on the command line override running object snaps P PAPERUPDATE Controls the display of a warning dialog when attempting to print a layout with a paper size different from the paper size specified by the default for the plotter configuration file PDMODE Controls how point objects are displayed PDSIZE Sets the display size for point objects PERIMETER Stores the last perimeter value computed by AREA, LIST, or DBLIST PFACEVMAX Sets the maximum number of vertices per face PICKADD Controls whether subsequent selections replace the current selection set or add to it PICKAUTO Controls automatic windowing at the Select Objects prompt PICKBOX Sets object selection target height PICKDRAG Controls the method of drawing a selection window PICKFIRST Controls whether you select objects before or after you issue a command PICKSTYLE Controls the use of group selection and associative hatch selection PLATFORM Indicates which platform of Auto CAD is in use PLINEGEN Sets how linetype patterns generate around the vertices of a 2D polyline PLINETYPE Specifies whether Auto CAD uses optimized 2D polylines PLINEWID Stores the default polyline width PLOTID Obsolete, has no effect in Auto CAD 2000 except to preserve the integrity of pre-Auto CAD 2000 scripts and LISP routines PLOTROTMODE Controls the orientation of plots PLOTTER Obsolete.Has no effect in Auto CAD 2000 except to preserve the integrity of pre-Auto CAD 2000 scripts and LISP routines PLQUIET Controls the display of optional dialog boxes and nonfatal errors for batch plotting and scripts POLARADDANG Contains user-defined polar angles POLARANG Sets the polar angle increment POLARDIST Sets the snap increment when the SNAPSTYL system variable is set to 1 (polar snap) POLARMODE Controls settings for polar and object snap tracking POLYSIDES Sets the default number of sides for POLYGON POPUPS Displays the status of the currently configured display driver PRODUCT Returns the product name PROGRAM Returns the program name PROJECTNAME Assigns a project name to the current drawing PROJMODE Sets the current Projection mode for trimming or extending PROXYGRAPHICS Specifies whether images of proxy objects are saved in the drawing PROXYNOTICE Displays a notice when you open a drawing containing custom objects created by an application that is not present PROXYSHOW Controls the display of proxy objects in a drawing PSLTSCALE Controls paper space linetype scaling PSPROLOG Assigns a name for a prolog section to be read from the file when you are using PSOUT PSQUALITY Controls the rendering quality of Post Script images PSTYLEMODE Indicates whether the current drawing is in a Color-Dependent or Named Plot Style mode PSTYLEPOLICY Controls whether an object's color property is associated with its plot style PSVPSCALE Sets the view scale factor for all newly created viewports PUCSBASE Stores the name of the UCS that defines the origin and orientation of orthographic UCS settings in paper space only Q QTEXTMODE Controls how text is displayed R RASTERPREVIEW Controls whether BMP preview images are saved with the drawing REFEDITNAME Indicates whether a drawing is in a reference-editing state and stores the reference file name REGENMODE Controls automatic regeneration of the drawing RE-INIT Reinitializes the digitizer, digitizer port, and file RTDISPLAY Controls the display of raster images during Realtime ZOOM or PAN S SAVEFILE Stores the current auto-save file name SAVEFILEPATH Specifies the path to the directory for all automatic save files for the Auto CAD session.