AutoCAD® 2006 System Variablesã
Highlighted numbers are preferred or standard
Initial or default values are often shown with aqua background.
All variables pertain to listed versions except where noted
This document created by Jeff Crawford(jcrawfor.corp@mtlsales.com)for 2004
and updated for 2005 & 2006 by Gil Hoellerich, BSEE
Please refer ALL comments to: ghoellerich@nc.rr.com
, , .Compiled from various documents and articles, with thanks for the help to all the authors.
This document is linked to a Topical Index of AutoCAD System Variables. To return to this variables page, click on the appropriate hyperlink in the Topical Index or on the direct hyperlink in the Topical Index. The Table of Contents is located at the end of this document and can be reached by clicking on it. Use the back button on your browser to return to the Topical Index. Updated to 2006 on 12/01/2005 BY GH, aided by Walt Engle.
System Variable Command(s) affected
(Read-only)
Type: Integer
Saved in: Registry
Returns the serial number assigned to AutoCAD
ACADLSPASDOC TOOLS/OPTIONS
Type: Integer
Saved in: Registry
Initial value: 0
Controls whether AutoCAD loads the acad.lsp file into every drawing or just the first drawing opened in an AutoCAD session.
0 Loads acad.lsp into just the first drawing opened in an AutoCAD session
1 Loads acad.lsp into every drawing opened
ACADPREFIX TOOLS/OPTIONS
(Read-only)
Type: String
Not saved
Stores the directory path, if any, specified by the ACAD environment variable, with path separators appended if necessary.
(Read-only)
Type: String
Not saved
Returns the AutoCAD version number. This variable differs from the DXF file $ACADVER header variable, which contains the drawing database level number.
ACISOUTVER ACISOUT/EXPORT
Type:Integer
Not saved
Initial value: 70
Controls the ACIS version of SAT files created using the ACISOUT command. Currently, ACISOUT only supports a value of 15 through 18, 20, 21, 30, 40 , 50, 60 and 70.
(Read-only)
Type: Integer
Not saved
Initial value: 0
Hold the display state of the AutoCAD Design Center
0 Not displayed in the environment
1 Currently displayed in the environment
AFLAGS DDATTDEF/ATTDEF
Type:Integer
Not saved
Initial value: 0
Sets attribute flags for ATTDEF bitcode. The value is the sum of the following:
0 No attribute mode selected
1 Invisible
2 Constant
4 Verify
8 Preset
ANGBASE DDUNITS/UNITS
Type:Real
Saved in: Drawing
Initial value: 0.0000
Sets the base angle to 0 with respect to the current UCS.
ANGDIR DDUNITS/UNITS
Type:Integer
Saved in: Drawing
Initial value: 0
Sets the positive angle direction from angle 0 with respect to the current UCS.
0 Counterclockwise
1 Clockwise
APBOX DDOSNAP/OSNAP
Type:Integer
Saved in: Registry
Initial value: 0
Turns the AutoSnap aperture box on or off. The aperture box is displayed in the center of the crosshairs when you snap to an object.
0 Aperture box is not displayed
1 Aperture box is displayed
APERTURE DDOSNAP/OSNAP
Type:Integer
Saved in: Registry
Initial value: 10
Sets the display size for the aperture, in pixels. The aperture is the selection tool used in drawing commands. The valid range is 1-50.
AREA AREA/DBLIST/LIST
(Read-only)
Type:Real
Not saved
AREA is both a command and a system variable. The AREA system variable stores the last area computed by the AREA, LIST or DBLIST commands. Because entering area at the Command prompt invokes the AREA command, you must use the SETVAR command to access the AREA system variable.
ASSISTSTATE ASSIST/ASSISTCLOSE
Type: Integer
Not saved
Initial value: 0
Indicates the display status of the AutoCAD Info Palette:
0 Info Palette is not active
1 Info Palette is active
ATTDIA DDATTE
Type: Integer
Saved in: Registry
Initial value: 0
Controls whether the -INSERT command uses a dialog box for attribute value entry. See “INSERT Command Line.” Attribute interface for entry:
0 Issues prompts on the command line
1 Uses a dialog box
ATTMODE ATTDISP
Type: Integer
Saved in: Drawing
Initial value: 1
Controls display of attributes. Display of attributes on screen:
0 Off: Makes all attributes invisible
1
Normal: Retains current visibility of each attribute:
visible attributes are displayed;invisible attributes are not
2 On: Makes all attributes visible
ATTREQ INSERT
Type: Integer
Saved in: Registry
Initial value: 1
Determines whether the INSERT command uses default attribute settings during insertion of blocks. Determines if Attribute defaults are used:
0 Assumes the defaults for the values of all attributes
1 Turns on prompts or dialog box for attribute values, as specified by ATTDIA
AUDITCTL AUDIT
Type: Integer
Saved in: Registry
Initial value: 0
Controls whether the AUDIT command creates an audit report (ADT) file.
0 Prevents writing of ADT file
1 Audit log (ADT) file is written
AUNITS DDUNITS/UNITS
Type:Integer
Saved in: Drawing
Initial value: 0
Sets units for angles.
0 Decimal degrees
1 Degrees/minutes/seconds
2 Grads
3 Radians
4 Surveyor’s units
AUPREC DDUNITS/UNITS
Type:Integer
Saved in: Drawing
Initial value: 0
Sets the number of decimal places displayed for all read-only angular units, and for all editable angular units whose precision is less than or equal to the current AUPREC value. For editable angular units whose precision is greater than the current AUPREC value, the true precision is displayed. AUPREC does not affect the display precision of dimension text (see DIMSTYLE).
AUTOSNAP DDOSNAP/OSNAP
Type:Integer
Saved in: Registry
Initial value: 63
Controls AutoSnap marker, tooltip, and magnet. Also turns on polar and object snap tracking, and controls the display of polar and object snap tracking tooltips. The system variable value is the sum of the following bit values:
0 Turns off the AutoSnap marker, tooltips, and magnet. Also turns off polar tracking, object snap tracking, and tooltips for polar and object snap tracking
1 Turns on the AutoSnap marker
2 Turns on the AutoSnap tooltips
4 Turns on the AutoSnap magnet
8 Turns on polar tracking
16 Turns on object snap tracking
32 Turns on tooltips for polar tracking and object snap tracking
BACKGROUNDPLOT PLOT/PUBLISH
Type: Integer
Saved in: Registry
Initial value: 2
Allows Plotting and Publishing of drawings to happen as a background process allowing you to continue working without waiting for your plots. Commands -Plot, plot, -Publish and Publish are performed in the foreground when in scriipts.
0 Use foreground plotting with Plot and Publish which is the legacy behavior of AutoCAD 2004 and prior.
1 Use background plotting with the Plot command and not Publish.
2 Use background plotting with the Publish command but not Plot.
3 Use background plotting for both Plot and Publish commands.
BACKZ DVIEW
(Read-only)
Type: Real
Saved in: Drawing
Initial value: 0.0000
Stores the back clipping plane offset from the target plane for the current viewport, in drawing units. Meaningful only if the back clipping bit in VIEWMODE is on. The distance of the back clipping plane from the camera point can be found by subtracting BACKZ from the camera-to-target distance.
Type:String
Saved:in Registry
initial value: 7
Sets the text color actions in the Block. Valid values include
BYLAYER, BYBLOCK, and an integer from 1 to 255.
Valid values for True Colors are a string of integers from 1 to 255
separated by commas and preceed by RGB. The True Color setting is entered as follows:
BDEPENDENCYHIGHLIGHT  
Type:Integer
Saved:in Registry
initial value: 1
Controls whether or not dependent objects are dependency highlighted when a
parameter, action or grip is selected in the Block Editor.
Dependency highlighting displays objects with halo effect.
0 Specifies that dependent objects are not highlighted.
1Specifies that dependent objects are highlighted.
Type:String
Saved:in Registry
initial value: 141
Sets the color of the grips in the Block Editor. Valid values include
BYLAYER, BYBLOCK, and an integer from 1 to 255.
Valid values for True Colors are a string of integers from 1 to 255
separated by commas and preceed by RGB. The True Color setting is entered as follows:
BINDTYPE XREF/REFEDIT
Type:
Not Saved
initial value: 0
Controls how xref names are handled when binding xrefs or editing xrefs in place.
0 Traditional binding behavior (“xref1|one” becomes “xref$0$one”)
1 Insert-like behavior (“xref1|one” becomes “one”)
BLIPMODE DDRMODES/BLIPMODE
Type:Integer
Saved in: Registry
Initial value: 0
Controls whether marker blips are visible.
0 Turns off marker blips
1 Turns on marker blips
Type:Integer
Saved in:Registry
Initial value: 0
Disallows opening of the Block Editor and editing of the dynamic block definitions.
When BLOCKEDITLOCK is set to 1, double-clicking a dynamic block in a drawing
opens the Reference Edit Dialog box. If the block contains attributes,
double-clicking the block refernce opens the Enhanced Attribute Editor.
0 Specifies that the Block Editor can be opened.
1 Specifies that the Block Editor cannot be opened.
(Read-Only)
Type: Integer
Not saved
Initial Value: 0
Reflects if the Block Editor is opened.
0 Indicates that the Block Editor is not opened.
1 Indicates that the Block Editor is opened.
Type:String
Saved:in Registry
initial value: 7
Sets the color of the grips in the Block Editor. Valid values include
BYLAYER, BYBLOCK, and an integer from 1 to 255.
Valid values for True Colors are a string of integers from 1 to 255
separated by commas and preceed by RGB. The True Color setting is entered as follows:
RGB:000,000,000
Type:String
Saved:in Registry
initial value: Simples.shx
Sets the font used for parameters and actions in Block Editor.
You can specify either a True Type font or an SHX font.(for example either Veranda
or Veranda.ttf) You must add the .shx extension for an AutoCAD SHX font. When specifying an Asian
Big Font
use the following naming convention: an SHX file followed by a comma(,), followed by the Big Font file name
(example: Simplex.shx,Bigfont.shx).
Type:Integer
Saved:in Registry
initial value:12
Sets the size of the parameter text and features relative to the screen display
Valid values from 1 to 255.
Type:Integer
Saved:in Registry
initial value: 1
Controls if value set markers are displayed for the dynamic block reference.
0 Specifies that value set markers are not displayed.
1 Specifies that value set markers are not displayed.
Type:Integer
not saved
initial value: 0
Controls how objects that are made invisible for the current visibility state are displayed
in the block editor.
0 Specifies that hidden objects are not visible.
1 Specifies that hidden objects are visible but dimmed.
Type:Integer
saved in Registry
initial value: 1
0 Expressions are not evaluated.
1 Expressions are evaluated after End key is pressed.
CDATE TIME
Type: Real
Not saved
Shows current calendar date and time. In the format yyyymmdd.hhhhmmss.
CECOLOR DDEMODES/COLOR/STATUS
Type:String
Saved in:DRAWING
Initial value: “BYLAYER”
Sets the color of new objects.Valid values include BYLAYER, BYBLOCK, and an integer from 1 to 255.
Valid values for True Colors are a string of integers
each from 1 to 255 separated by commas and preceeded by RGB. The True Color
setting is entered as follows: RGB:000,000,000
CELTSCALE DDLTYPE/DDEMODES/LINETYPE/STATUS
Type:Real
Saved in:Drawing
Initial value:1.0000
Sets the current object linetype scaling factor. Sets the linetype scaling for new objects relative to the LTSCALE command setting. A line created with CELTSCALE = 2 in a drawing with LTSCALE set to 0.5 would appear the same as a line created with CELTSCALE = 1 in a drawing with LTSCALE = 1.
CELTYPE DDLTYPE/DDEMODES/LINETYPE/STATUS
Type:String/p>
Saved in:Drawing
Initial value:“ByLayer”
Sets the linetype of new objects.
CELWEIGHT LWEIGHT
Type: Integer
Saved In: Drawing
Initial value: “ByLayer”
Sets the lineweight of new objects.
1
Sets the lineweight to “ByLayer.”
2
Sets the lineweight to “ByBlock.”
3
Sets the lineweight to “Default.” “Default” is controlled by the LWDEFAULT
system variable.
Other valid values entered in millimeters include 0, 5, 9, 13, 15, 18, 20, 25, 30, 35, 40, 50, 53, 60, 70, 80, 90, 100, 106, 120, 140, 158, 200, and 211.
All values must be entered in millimeters. (Multiply a value by 25.4 to convert values from inches to millimeters.)
Type: Integer
Saved in: Users settings
Initial value: 0
Controls how grips stretch multi-line text that is centered horizontally.
CENTERMT doesnot appy to stretching multi-line text by using the ruler in the
In-Place Text Editor.
0When you move a corner grip in centered multiline text, the center grip
moves in the same direction, and the grip on the opposite side remains in
place.
1 When you move a corner grip in centered multiline text, the center grip stays
in place, and both sets of side grips move in the direction of the stretch.
CHAMFERA CHAMFER
Type: Real
Saved in: Drawing
Initial value: 0.0000
Sets the first chamfer distance.
CHAMFERB CHAMFER
Type: Real
Saved in: Drawing
Initial value: 0.0000
Sets the second chamfer distance.
CHAMFERC CHAMFER
Type: Real
Saved in: Drawing
Initial value: 0.0000
Sets the chamfer length.
CHAMFERD CHAMFER
Type: Real
Saved in: Drawing
Initial value: 0.0000
Sets the chamfer angle.
CHAMMODE CHAMFER
Type: Integer
Not saved
Initial value: 0
Sets the input method by which AutoCAD creates chamfers.
0 Requires two chamfer distances
1 Requires one chamfer distance and an angle
CIRCLERAD CIRCLE
Type: Real
Not saved
Initial value: 0.0000
Sets the default circle radius. A zero indicates no default.
CLAYER DDLMODES/LAYER/STATUS
Type: String
Saved in: Drawing
Initial value: “0”
Sets the current layer.
(Read-only)
Type: Integer
Not-saved
Initial value: 1
Stores a value that indicates if the command window is hidden.
0 Hidden
1 Displayed
CMDACTIVE Any command
(Read-only)
Type: Integer
Not saved
Stores the bitcode that indicates whether an ordinary command, transparent command, script, or dialog box is active. The value is the sum of the following:
1 Ordinary command is active
2 Ordinary command and a transparent command are active
4 Script is active
8 Dialog box is active
16 AutoLISP is active (only visible to an ObjectARX-defined command)
CMDDIA Environment
Type: Integer
Saved in: Registry
Initial value: 1
Controls the display of dialog boxes for the PLOT command and the external database (ASE) commands.
0 No dialog boxes
1 Shows dialog boxes
CMDECHO Environment
Type: Integer
Not saved
Initial value: 1
Controls whether AutoCAD echoes prompts and input during the AutoLISP command function.
0 Turns off echoing
1 Turns on echoing
Type: Integer
Saved in: Registry
Initial value: 20
 
Sets the maximum of previous input values that are stored for a prompt
in a command. Display of the history of user input is controlled by the
INPUTHISTORYMODE system variable.
 
 
CMDNAMES Any command
(Read-only)
Type: String
Initial value: “SETVAR”
Not saved
Displays the names of the active and transparent commands. For example, LINE’ZOOM indicates that the ZOOM command is being used transparently during the LINE command.
This variable is designed for use with programming interfaces such as AutoLISP, DIESEL, and ActiveX Automation.
CMLJUST MLINE
Type: Integer
Saved in: Drawing
Initial value: 0
Specifies multiline justification.
0 Top
1 Middle
2 Bottom
CMLSCALE MLINE
Type: Real
Saved in: Drawing
Initial value: 1.0000
Controls the overall width of a multiline. A scale factor of 2.0 produces a multiline twice as wide as the style definition. A zero scale factor collapses the multiline into a single line. A negative scale factor flips the order of the offset lines (that is, the smallest or most negative is placed on top when the multiline is drawn from left to right). Multline scale:
0 Single line
1 Default width
n Distance between lines
CMLSTYLE MLINE/MLSTYLE
Type:String
Saved in: Drawing
Initial value: “STANDARD”
Sets the multiline style that AutoCAD uses to draw the multiline.
COMPASS 3DORBIT
Type: Integer
Not saved
Initial value: 0
Controls whether the 3D compass is on or off in the current viewport.
0 Turns off the 3D compass
1 Turns on the 3D compass
COORDS Environment
Type: Integer
Saved in: Registry
Initial value: 1
Controls when coordinates are updated on the status line.
0 Coordinate display is updated as you specify points with the pointing device
1 Display of absolute coordinates is updated continuously
2 Display of absolute coordinates is updated continuously, and distance and angle from last point are displayed when a distance or angle is requested
CPLOTSTYLE PLOT
Type: String
Saved in: Drawing
Initial Value: “ByLayer”
Controls the current plot style for new objects. The AutoCAD defined values are:
“ByLayer”
“ByBlock”
“Normal”
“User Defined”
CPROFILE TOOLS/OPTIONS
(Read-only)
Type: String
Saved in: Registry
Initial value: <<Unnamed Profile>>
Displays the name of the current profile. For more information on profiles, see the OPTIONS command.
Type: Integer
Saved in: Registry
Initial value: 3 (green)
Controls the color of the selection area during crossing selection. The valid
range is 1 to 255. The SELECTIONAREA system variable must be on.
CTAB Environment
(Read-only)
Type: String
Saved in: Drawing
Initial value: “Model”
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.
CTABLESTYLE TABLE/TABLESTYLE/PROPERTIES/STATUS
Type: String
Initial value: "Standard"
Contains current Table Style name.
CURSORSIZE TOOLS/OPTIONS
Type: Integer
Saved in: Registry
Initial value: 5
Determines the size of the crosshairs as a percentage of the screen size. Valid settings range from 1 to 100 percent. When set to 100, the crosshairs are full-screen and the ends of the crosshairs are never visible. When less than 100, the ends of the crosshairs may be visible when the cursor is moved to one edge of the screen.
CVPORT VPORTS
Type: Integer
Saved in: Drawing
Initial value: 2
Sets the identification number of the current viewport. You can change this value, which changes the current viewport, if the following conditions are met:
The identification number you specify is that of an active viewport.
A command in progress has not locked cursor movement to that viewport.
Tablet mode is off.
DATE Environment
(Read-only)
Type:Real
Not saved
Displays current date and time in calendar format: yyyy/mm/dd hh:mm:ss.ss
DBCSTATE DBCONNECT/DBCLOSE
(undocumented)
(Read-only)
Type: Integer
Initial value: 0
Display state for the Objects Properties dockable container.
0 Not displayed in the environment
1 Currently displayed in the environment
DBMOD Used by most commands
(Read-only)
Type: Integer
Not saved
Initial value: 5
Indicates the drawing modification status using bitcode. The value is the sum of the following:
1 Object database modified
2 Symbol table
4 Database variable modified
8 Window modified
16 View modified
32 Identify when Field has been modified
AutoCAD resets the DBMOD value to 0 when you save the drawing.
DCTCUST SPELL
Type: String
Saved in: Registry
Initial value: “”
Displays the path and file name of the current custom spelling dictionary.
DCTMAIN SPELL
Type: String
Saved in: Registry
Initial value: “enu”
Displays the file name of the current main spelling dictionary. The full path is not shown because this file is expected to reside in the support directory. American English is “enu.”
DEFLPLSTYLE PLOT
(Read-only)
Type: String
Saved in: Registry
Initial value: “ByColor”
Specifies the default plot style for new layers.
DEFPLSTYLE PLOT
Type: String
Saved in: Registry
Initial value: “ByLayer”
Specifies the default plot style for new objects
DELOBJ Modify commands
Type: Integer
Saved in: Registry
Initial value: 1
Controls whether objects used to create other objects are retained or deleted from the drawing database.
0 Objects are retained
1 Objects are deleted
DEMANDLOAD TOOLS/OPTIONS
Type: Integer
Saved in: Registry
Initial Value: 3
Specifies if and when AutoCAD demand loads a third-party application if a drawing contains custom objects created in that application.
0 Turns off demand loading.
1 Demand loads the source application when you open a drawing that contains custom objects. This setting does not demand load the application when you invoke one of the application’s commands.
2 Demand loads the source application when you invoke one of the application’s commands. This setting does not demand load the application when you open a drawing that contains custom objects.
3 Demand loads the source application when you open a drawing that contains custom objects or when you invoke one of the application’s commands.
DIASTAT DD*****
(Read-only)
Type: Integer
Not saved
Stores the exit method of the most recently used dialog box.
0 Cancel
1 OK
DIMADEC DDIM
Type: Integer
Saved in: Drawing
Initial value: -1
Controls the number of precision places displayed in angular dimensions.
1
Uses DIMDEC value
0–8 Indicates the number of decimal places to display in angular dimensions.
DIMALT DDIM
Type: Switch
Saved in: Drawing
Initial value: Off
Controls the display of alternate units in dimensions. See also DIMALTD, DIMALTF, DIMALTTD, DIMALTTZ, DIMALTZ, and DIMAPOST.
Off Disables alternate units
On Enables alternate units
DIMALTD DDIM
Type: Integer
Saved in: Drawing
Initial value: 2
Controls the number of decimal places in alternate units.
DIMALTF DDIM
Type: Real
Saved in: Drawing
Initial value: 25.4000
Controls the multiplier for alternate units. If DIMALT is turned on, DIMALTF multiplies linear dimensions by a factor to produce a value in an alternate system of measurement. The initial value represents the number of millimeters in an inch.
DIMALTRND DDIM
Type: Real
Saved in: Drawing
Initial value: 0.00
Rounds off the alternate dimension units.
DIMALTTD DDIM
Type: Integer
Saved in: Drawing
Initial value: 2
Sets the number of decimal places for the tolerance values in the alternate units of a dimension.
DIMALTTZ DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Toggles suppression of zeros in tolerance values.
0 Suppresses zero feet and precisely zero inches
1 Includes zero feet and precisely zero inches
2 Includes zero feet and suppresses zero inches
3 Includes zero inches and suppresses zero feet
To the preceding values, add:
4 Suppresses leading zeros
8 Suppresses trailing zeros
DIMALTU DDIM
Type: Integer
Saved in: Drawing
Initial value: 2
Sets the units format for alternate units of all dimension style family members except angular.
1 Scientific
2 Decimal
3 Engineering
4 Architectural (stacked)
5 Fractional (stacked)
6 Architectural
7 Fractional
8 Windows® Desktop (decimal format using Control Panel settings for decimal separator and number grouping symbols)
DIMALTZ DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Controls the suppression of zeros for alternate unit dimension values. DIMALTZ values 0–3 affect feet-and-inch dimensions only.
0 Suppresses zero feet and precisely zero inches
1 Includes zero feet and precisely zero inches
2 Includes zero feet and suppresses zero inches
3 Includes zero inches and suppresses zero feet
4 Suppresses leading zeros in decimal dimensions (for example, 0.5000 becomes .5000)
8 Suppresses trailing zeros in decimal dimensions (for example, 12.5000 becomes 12.5)
12 Suppresses both leading and trailing zeros (for example, 0.5000 becomes .5)
DIMAPOST DDIM
Type: String
Saved in: Drawing
Initial value: “”
Specifies a text prefix or suffix (or both) to the alternate dimension measurement for all types of dimensions except angular.
For instance, if the current units are Architectural, DIMALT is on, DIMALTF is 25.4 (the number of millimeters per inch), DIMALTD is 2, and DIMAPOST is set to “mm,” a distance of 10 units would be displayed as 10”[254.00mm].
To turn off an established prefix or suffix (or both), set it to a single period (.).
DIMASO DDIM
Type: Switch
Saved in: Drawing
Initial value: On
Controls the associativity of dimension objects.
Off Creates no association between the various elements of the dimension. The lines, arcs, arrowheads, and text of a dimension are drawn as separate objects.
On Creates an association between the elements of the dimension. The elements are formed into a single object. If the definition point on the object moves, the dimension value is updated.
DIMASO is not stored in a dimension style.
DIMASSOC DDIM
Type: Integer
Saved in: Drawing
Initial value: 2
Controls the associativity of dimension objects.
0 Creates exploded dimensions. There is no association between the various elements of the dimension. The lines, arcs, arrowheads, and text of a dimension are drawn as separate objects.
1 Creates non-associative dimension objects. The elements of the dimension are formed into a single object. If the definition point on the object moves, the dimension value is updated.
2 Creates associative dimension objects. The elements of the dimension are formed into a single object, and one or more definition points of the dimension are coupled with association points on geometric objects. If the association point on the geometric object moves, the dimension location, orientation, and value is updated.
DIMASSOC is not stored in a dimension style.
Drawings saved in a format previous to AutoCAD 2002 retain the setting of the DIMASSOC system variable. When the drawing is reopened in AutoCAD 2002 or later, the dimension associativity setting is restored. If a legacy drawing is opened in AutoCAD 2002, the DIMASSOC system variable takes on the value of the legacy drawing's DIMASO system variable.
DIMASZ DDIM
Type: Real
Saved in: Drawing
Initial value: 0.1800
Controls the size of dimension line and leader line arrowheads. Also controls the size of hook lines.
Multiples of the arrowhead size determine whether dimension lines and text should fit between the extension lines. DIMASZ is also used to scale arrowhead blocks if set by DIMBLK. DIMASZ has no effect when DIMTSZ is other than zero.
DIMATFIT DDIM
Type: Integer
Saved in: Drawing
Initial value: 3
Determines how dimension text and arrows are arranged when space is not sufficient to place both within the extension lines.
0 Places both text and arrows outside extension lines
1 Moves arrows first, then text
2 Moves text first, then arrows
3 Moves either text or arrows, whichever fits best
AutoCAD adds a leader to moved dimension text when DIMTMOVE is set to 1.
DIMAUNIT DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Sets the units format for angular dimensions.
0 Decimal degrees
1 Degrees/minutes/seconds
2 Grads
3 Radians
4 Surveyor’s units
DIMAUNIT sets this value when entered on the command line or when set from the Primary Units area in the Annotation dialog box.
DIMAZIN DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Suppresses zeros for angular dimensions.
0 Displays all leading and trailing zeros
1 Suppresses leading zeros in decimal dimensions (for example, 0.5000 becomes .5000)
2 Suppresses trailing zeros in decimal dimensions (for example, 12.5000 becomes 12.5)
3 Suppresses leading and trailing zeros (for example, 0.5000 becomes .5)
DIMBLK DDIM
Type: String
Saved in: Drawing
Initial value: “”
Sets the arrowhead block displayed at the ends of dimension lines or leader lines. To turn off arrowheads, enter a single period (.). Arrowhead block entries and the names used to select them in the New, Modify and Override Dimension Style dialog boxes are shown below. You can also enter the names of user-defined arrowhead blocks.
“” closed filled
“_DOT” dot
“_DOTSMALL” dot small
“_DOTBLANK” dot blank
“_ORIGIN” origin indicator
“_ORIGIN2” origin indicator 2
“_OPEN” open
“_OPEN90” right angle
“_OPEN30” open 30
“_CLOSED” closed
“_SMALL” dot small blank
“_NONE” none
“_OBLIQUE” oblique
“_BOXFILLED” box filled
“_BOXBLANK” box
“_CLOSEDBLANK” closed blank
“_DATUMFILLED” datum triangle filled
“_DATUMBLANK” datum triangle
“_INTEGRAL” integral
“_ARCHTICK” architectural tick
DIMBLK1 DDIM
Type: String
Saved in: Drawing
Initial value: “”
Sets the arrowhead for the first end of the dimension line when DIMSAH is on. To turn off arrowheads, enter a single period (.). For a list of arrowheads, see DIMBLK.
DIMBLK2 DDIM
Type: String
Saved in: Drawing
Initial value: “”
Sets the arrowhead for the second end of the dimension line when DIMSAH is on. To turn off arrowheads, enter a single period (.). For a list of arrowhead entries, see DIMBLK.
DIMCEN DDIM
Type: Real
Saved in: Drawing
Initial value: 0.0900
Controls drawing of circle or arc center marks and centerlines by the DIMCENTER, DIMDIAMETER, and DIMRADIUS commands. For DIMDIAMETER and DIMRADIUS, the center mark is drawn only if you place the dimension line outside the circle or arc.
0 No center marks or lines are drawn
<0 Centerlines are drawn
>0 Center marks are drawn
The absolute value specifies the size of the center mark.
DIMCLRD DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Assigns colors to dimension lines, arrowheads, and dimension leader lines. Also controls the color of leader lines created with the LEADER command. The color can be any valid color number. Integer equivalents for the BYBLOCK and BYLAYER properties are 0 and 256, respectively.
DIMCLRE DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Assigns colors to dimension extension lines. The color can be any valid color number. See DIMCLRD.
DIMCLRT DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Assigns colors to dimension text. The color can be any valid color number. See DIMCLRD.
DIMDEC DDIM
Type: Integer
Saved in: Drawing
Initial value: 4
Sets the number of decimal places displayed for the primary units of a dimension. The precision is based on the units or angle format you have selected.
DIMDLE DDIM
Type: Real
Saved in: Drawing
Initial value: 0.0000
Sets the distance the dimension line extends beyond the extension line when oblique strokes are drawn instead of arrowheads.
DIMDLI DDIM
Type: Real
Saved in: Drawing
Initial value: 0.3800
Controls the spacing of the dimension lines in baseline dimensions. Each dimension line is offset from the previous one by this amount, if necessary, to avoid drawing over it. Changes made with DIMDLI are not applied to existing dimensions.
DIMDSEP DDIM
Type: Single character
Saved in: Drawing
Initial value: Decimal point (“.”)
Specifies a single-character decimal separator to use when creating dimensions whose unit format is decimal.
When prompted, enter a single character at the command line. If dimension units is set to Decimal, the DIMDSEP character is used instead of the default decimal point. If DIMDSEP is set to NULL (default value, reset by entering a period), AutoCAD uses the decimal point as the dimension separator.
DIMEXE DDIM
Type: Real
Saved in: Drawing
Initial value: 0.1800
Specifies how far to extend the extension line beyond the dimension line.
DIMEXO DDIM
Type: Real
Saved in: Drawing
Initial value: 0.0625
Specifies how far extension lines are offset from origin points. If you point directly at the corners of an object to be dimensioned, the extension lines do not touch the object.
DIMFIT DDIM
Type: Integer
Saved in: Drawing
Initial value: 3
Obsolete. Has no effect in AutoCAD 2000 except to preserve the integrity of pre-AutoCAD 2000 scripts and AutoLISP routines. In AutoCAD 2000, DIMFIT is replaced by DIMATFIT and DIMTMOVE. Displays at the command prompt.
0 Both text and arrowheads are placed on the outside extension lines
1 Text is placed between the extension lines and arrowheads are placed on the outside
2 Arrowheads are placed between the extension lines and text is on the outside
3 Text is placed between the extension lines and places the arrowheads on the outside
4 Same as 3 except leaders also connect the text to the dimension line unlike no. 3
5 Both arrowheads and text are placed on the inside of the extension lines, unless not enough space is between the extension lines
DIMFRAC DDIM
Type: Integer
Saved in: Drawing
Initial value: 0
Sets the fraction format when DIMLUNIT is set to 4 (Architectural) or 5 (Fractional).
0 Horizontal
1 Diagonal
2 Not stacked (for example, 1/2)
DIMGAP DDIM
Type: Real
Saved in: Drawing
Initial value: 0.0900
Sets the distance around the dimension text when the dimension line breaks to accommodate dimension