img
AutoCAD System Variables

A

ACADLSPASDOC Controls whether AutoCAD loads the acad.lsp file into every drawing or just the first drawing opened in an AutoCAD session
ACADPREFIX Stores the directory path, if any, specified by the ACAD environment variable, with path separators appended if necessary
ACADVER Stores the AutoCAD version number
ACISOUTVER Controls the ACIS version of SAT files created using the ACISOUTcommand
AFLAGS Sets attribute flags for ATTDEF bit-code

ANGBASE Sets the base angle 0 with respect to the current UCS
ANGDIR Sets the positive angle direction from angle 0 with respect to the current UCS
APBOX Turns the AutoSnap aperture box on or off
APERTURE Sets object snap target height, in pixels
AREA Stores the last area computed by AREA, LIST, or DBLIST
ATTDIA Controls whether -INSERT uses a dialog box for attribute value entry
ATTMODE Controls display of attributes

ATTREQ Determines whether INSERT uses default attribute settings during insertion of blocks
AUDITCTL Controls whether AUDIT creates an audit report (ADT) file
AUNITS Sets units for angles
AUPREC Sets the number of decimal places for angular units
AUTOSNAP Controls AutoSnap marker, tooltip, and magnet

B

BACKZ Stores the back clipping plane offset from the target plane for the current viewport
BINDTYPE Controls how xref names are handled when binding xrefs or editing xrefs in-place
BLIPMODE Controls whether marker blips are visible

C

CDATE Sets calendar date and time
CECOLOR Sets the color of new objects
CELTSCALE Sets the current object linetype scaling factor
CELTYPE Sets the linetype of new objects
CELWEIGHT Sets the lineweight of new objects
CHAMFERA Sets the first chamfer distance
CHAMFERB Sets the second chamfer distance
CHAMFERC Sets the chamfer length
CHAMFERD Sets the chamfer angle
CHAMMODE Sets the input method by which AutoCAD creates chamfers

CIRCLERAD Sets the default circle radius
CLAYER Sets the current layer
CMDACTIVE Stores the bit-code that indicates whether an ordinary command, transparent command, script, or dialog box is active
CMDECHO Controls whether AutoCAD echoes prompts and input during the AutoLISP (command) function
CMDNAMES Displays the names of the active and transparent commands
CMLJUST Specifies multiline justification
CMLSCALE Controls the overall width of a multiline

CMLSTYLE Sets the multiline style
COMPASS Controls whether the 3D compass is on or off in the current viewport
COORDS Controls when coordinates are updated on the status line
CPLOTSTYLE Controls the current plot style for new objects
CPROFILE Stores the name of the current profile
CTAB Returns the name of the current (model or layout) tab in the drawing. Provides a means for the user to determine which tab is active

CURSORSIZE Determines the size of the crosshairs as a percentage of the screen size
CVPORT Sets the identification number of the current viewport

D

DATE Stores the current date and time
DBMOD Indicates the drawing modification status using bit-code
DCTCUST Displays the path and file name of the current custom spelling dictionary
DCTMAIN Displays the file name of the current main spelling dictionary
DEFLPLSTYLE Specifies the default plot style for new layers
DEFPLSTYLE Specifies the default plot style for new objects
DELOBJ Controls whether objects used to create other objects are retained or deleted from the drawing database

DEMANDLOAD Specifies if and when AutoCAD demand loads a third-party application if a drawing contains custom objects created in that application
DIASTAT Stores the exit method of the most recently used dialog box
DIMADEC Controls the number of places of precision displayed for angular dimensions
DIMALT Controls the display of alternate units in dimensions
DIMALTD Controls the number of decimal places in alternate units
DIMALTF Controls the multiplier for alternate units

DIMALTRND Determines rounding of alternate units
DIMALTTD Sets the number of decimal places for the tolerance values in the alternate units of a dimension
DIMALTTZ Toggles suppression of zeros in tolerance values
DIMALTU Sets the units format for alternate units of all dimension style family members except angular
DIMALTZ Controls the suppression of zeros for alternate unit dimension values
DIMAPOST Specifies a text prefix or suffix (or both) to the alternate dimension measurement for all types of dimensions except angular

DIMASO Controls the associativity of dimension objects
DIMASZ Controls the size of dimension line and leader line arrowheads
DIMATFIT Determines how dimension text and arrows are arranged when space is not sufficient to place both within the extension lines
DIMAUNIT Sets the units format for angular dimensions
DIMAZIN Suppresses zeros for angular dimensions
DIMBLK Sets the arrowhead block displayed at the ends of dimension lines or leader lines

DIMBLK1 Sets the arrowhead for the first end of the dimension line when DIMSAH is on
DIMBLK2 Sets the arrowhead for the second end of the dimension line when DIMSAH is on
DIMCEN Controls drawing of circle or arc center marks and centerlines by DIMCENTER, DIMDIAMETER, and DIMRADIUS
DIMCLRD Assigns colors to dimension lines, arrowheads, and dimension leader lines
DIMCLRE Assigns colors to dimension extension lines

DIMCLRT Assigns colors to dimension text
DIMDEC Sets the number of decimal places displayed for the primary units of a dimension
DIMDLE Sets the distance the dimension line extends beyond the extension line when oblique strokes are drawn instead of arrowheads
DIMDLI Controls the spacing of dimension lines in baseline dimensions
DIMDSEP Specifies a single character decimal separator to use when creating dimensions whose unit format is decimal

DIMEXE Specifies how far to extend the extension line beyond the dimension line
DIMEXO Specifies how far extension lines are offset from origin points
DIMFIT Obsolete. Replaced by DIMATFIT and DIMTMOVE
DIMFRAC Sets the fraction format when DIMLUNIT is set to 4 or 5
DIMGAP Sets the distance around the dimension text when the dimension line breaks to accommodate dimension text
DIMJUST Controls the horizontal positioning of dimension text

DIMLDRBLK Specifies the arrow type for leaders
DIMLFAC Sets a scale factor for linear dimension measurements
DIMLIM Generates dimension limits as the default text
DIMLUNIT Sets units for all dimension types except Angular
DIMLWD Assigns lineweight to dimension lines
DIMLWE Assigns lineweight to extension lines
DIMPOST Specifies a text prefix or suffix (or both) to the dimension measurement

DIMRND Rounds all dimensioning distances to the specified value
DIMSAH Controls the display of dimension line arrowhead blocks
DIMSCALE Sets the overall scale factor applied to dimensioning variables that specify sizes, distances, or offsets
DIMSD1 Controls suppression of the first dimension line
DIMSD2 Controls suppression of the second dimension line
DIMSE1 Suppresses display of the first extension line
DIMSE2 Suppresses display of the second extension line

DIMSHO Controls redefinition of dimension objects while dragging
DIMSOXD Suppresses drawing of dimension lines outside the extension lines
DIMSTYLE Shows the current dimension style
DIMTAD Controls the vertical position of text in relation to the dimension line
DIMTDEC Sets the number of decimal places to display in tolerance values for the primary units in a dimension
DIMTFAC Sets a scale factor used to calculate the height of text for dimension fractions and tolerances

DIMTIH Controls the position of dimension text inside the extension lines for all dimension types except ordinate
DIMTIX Draws text between extension lines
DIMTM When DIMTOL or DIMLIM is on, sets the minimum (or lower) tolerance limit for dimension text
DIMTMOVE Sets dimension text movement rules
DIMTOFL Controls whether a dimension line is drawn between the extension lines even when the text is placed outside

DIMTOH Controls the position of dimension text outside the extension lines
DIMTOL Appends tolerances to dimension text
DIMTOLJ Sets the vertical justification for tolerance values relative to the nominal dimension text
DIMTP When DIMTOL or DIMLIM is on, sets the maximum (or upper) tolerance limit for dimension text
DIMTSZ Specifies the size of oblique strokes drawn instead of arrowheads for linear, radius, and diameter dimensioning

DIMTVP Controls the vertical position of dimension text above or below the dimension line
DIMTXSTY Specifies the text style of the dimension
DIMTXT Specifies the height of dimension text, unless the current text style has a fixed height
DIMTZIN Controls the suppression of zeros in tolerance values
DIMUNIT Obsolete. 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 AutoCAD

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 AutoCAD DesignCenter, 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 AutoLISP-defined functions and variables are preserved when you open a new drawing
LOCALE Displays the ISO language code of the current AutoCAD 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 AutoCAD 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 AutoCAD
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 AutoCAD is in use
PLINEGEN Sets how linetype patterns generate around the vertices of a 2D polyline
PLINETYPE Specifies whether AutoCAD uses optimized 2D polylines
PLINEWID Stores the default polyline width
PLOTID Obsolete, has no effect in AutoCAD 2000 except to preserve the integrity of pre-AutoCAD 2000 scripts and LISP routines
PLOTROTMODE Controls the orientation of plots
PLOTTER Obsolete. Has no effect in AutoCAD 2000 except to preserve the integrity of pre-AutoCAD 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 acad.psf file when you are using PSOUT
PSQUALITY Controls the rendering quality of PostScript 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 acad.pgp 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 AutoCAD session.
SAVENAME Stores the file name and directory path of the current drawing after you save it
SAVETIME Sets the automatic save interval, in minutes
SCREENBOXES Stores the number of boxes in the screen menu area of the drawing area
SCREENMODE Stores a bitcode indicating the graphics/text state of the AutoCAD display

SCREENSIZE Stores current viewport size in pixels (X and Y)
SDI Controls whether AutoCAD runs in single- or multiple-document interface
SHADEDGE Controls the shading of edges in rendering
SHADEDIF Sets the ratio of diffuse reflective light to ambient light
SHORTCUTMENU Controls whether Default, Edit, and Command mode shortcut menus are available in the drawing area
SHPNAME Sets a default shape name

SKETCHINC Sets the record increment for SKETCH
SKPOLY Determines whether SKETCH generates lines or polylines
SNAPANG Sets snap and grid rotation angle for the current viewport
SNAPBASE Sets the snap and grid origin point for the current viewport relative to the current UCS
SNAPISOPAIR Controls the isometric plane for the current viewport
SNAPMODE Turns Snap mode on and off
SNAPSTYL Sets snap style for the current viewport

SNAPTYPE Sets the snap style for the current viewport
SNAPUNIT Sets the snap spacing for the current viewport
SOLIDCHECK Turns the solid validation on and off for the current AutoCAD session
SORTENTS Controls the OPTIONS command (from the Selection tab) object sort order operations
SPLFRAME Controls the display of splines and spline-fit polylines
SPLINESEGS Sets the number of line segments to be generated for each spline-fit polyline

SPLINETYPE Sets the type of curve generated by the Spline option of the PEDIT command
SURFTAB1 Sets the number of tabulations to be generated for RULESURF and TABSURF
SURFTAB2 Sets the mesh density in the N direction for REVSURF and EDGESURF
SURFTYPE Controls the type of surface-fitting to be performed by the Smooth option of the PEDIT command
SURFU Sets the surface density for PEDIT Smooth in the M direction

SURFV Sets the surface density for PEDIT Smooth in the N direction
SYSCODEPAGE Indicates the system code page specified in acad.xmf

T

TABMODE Controls the use of the tablet
TARGET Stores the location of the target point for the current viewport
TDCREATE Stores the local time and date the drawing was created
TDINDWG Stores the total editing time
TDUCREATE Stores the universal time and date the drawing was created
TDUPDATE Stores the local time and date of the last update/save
TDUSRTIMER Stores the user-elapsed timer

TDUUPDATE Stores the universal time and date of the last update/save
TEMPPREFIX Contains the directory name for temporary files
TEXTEVAL Controls the method of evaluation for text strings
TEXTFILL Controls the filling of TrueType fonts while plotting, exporting with the PSOUT command, and rendering
TEXTQLTY Sets the resolution tesselation fineness of text outlines for TrueType fonts while plotting, exporting with the PSOUT command, and rendering

TEXTSIZE Sets the default height for new text objects drawn with the current text style
TEXTSTYLE Sets the name of the current text style
THICKNESS Sets the current 3D solid thickness
TILEMODE Makes the Model tab or the last layout tab current
TOOLTIPS Controls the display of tooltips
TRACEWID Sets the default trace width
TRACKPATH Controls the display of polar and object snap tracking alignment paths

TREEDEPTH Specifies the maximum depth, that is, the number of times the tree-structured spatial index can divide into branches
TREEMAX Limits memory consumption during drawing regeneration by limiting the number of nodes in the spatial index (oct-tree)
TRIMMODE Controls whether AutoCAD trims selected edges for chamfers and fillets
TSPACEFAC Controls the multiline text line spacing distance measured as a factor of text height

TSPACETYPE Controls the type of line spacing used in multiline text
TSTACKALIGN Controls the vertical alignment of stacked text
TSTACKSIZE Controls the percentage of stacked text fraction height relative to selected text's current height

U

UCSAXISANG Stores the default angle when rotating the UCS around one of its axes using the X, Y, or Z options of the UCS command
UCSBASE Stores the name of the UCS that defines the origin and orientation of orthographic UCS settings
UCSFOLLOW Generates a plan view whenever you change from one UCS to another
UCSICON Displays the UCS icon for the current viewport
UCSNAME Stores the name of the current coordinate system for the current viewport in the current space

UCSORG Stores the origin point of the current coordinate system for the current viewport in the current space
UCSORTHO Determines whether the related orthographic UCS setting is restored automatically when an orthographic view is restored
UCSVIEW Determines whether the current UCS is saved with a named view
UCSVP Determines whether the UCS in active viewports remains fixed or changes to reflect the UCS of the currently active viewport

UCSXDIR Stores the X direction of the current UCS for the current viewport in the current space
UCSYDIR Stores the Y direction of the current UCS for the current viewport in the current space
UNDOCTL Stores a bitcode indicating the state of the Auto and Control options of the UNDO command
UNDOMARKS Stores the number of marks that have been placed in the UNDO control stream by the Mark option
UNITMODE Controls the display format for units

USERI1–5 Stores and retrieves integer values
USERR1–5 Stores and retrieves real numbers
USERS1–5 Stores and retrieves text string data

V

VIEWCTR Stores the center of view in the current viewport
VIEWDIR Stores the viewing direction in the current viewport
VIEWMODE Controls the View mode for the current viewport using bitcode
VIEWSIZE Stores the height of the view in the current viewport
VIEWTWIST Stores the view twist angle for the current viewport
VISRETAIN Controls the visibility, color, linetype, lineweight, and plot styles (if PSTYLEPOLICY is set to 0) of xref-dependent layers and specifies whether nested xref path changes are saved

VSMAX Stores the upper-right corner of the current viewport's virtual screen
VSMIN Stores the lower-left corner of the current viewport's virtual screen

W

WHIPARC Controls whether the display of circles and arcs is smooth
WMFBKGND Controls the background of the output Windows metafile resulting from the WMFOUT command, and for the metafile format of objects placed on the Clipboard or dragged and dropped into other applications
WORLDUCS Indicates whether the UCS is the same as the WCS
WORLDVIEW Determines whether input to the 3DORBIT, DVIEW, and VPOINT commands is relative to the WCS (default), the current UCS, or the UCS specified by the UCSBASE system variable

WRITESTAT Indicates whether a drawing file is read-only or can be written to, for developers who need to determine write status through AutoLISP

X

XCLIPFRAME Controls the visibility of xref clipping boundaries
XEDIT Controls whether the current drawing can be edited in-place when being referenced by another drawing
XFADECTL Controls the fading intensity for references being edited in-place
XLOADCTL Turns xref demand loading on and off and controls whether it opens the original drawing or a copy
XLOADPATH Creates a path for storing temporary copies of demand-loaded xref files

XREFCTL Controls whether AutoCAD writes external reference log (XLG) files

Z

ZOOMFACTOR Controls the incremental change in zoom with each IntelliMouse wheel action, whether forward or backward