AutoCAD Global Variables
The following list describes supported AutoCAD global variables, and how they are imported.
|
ACAD Global Variable: |
Imported As: |
|
VIEWDIR. Display view in primary viewport. |
View
|
|
EXTMIN. Coordinates of lower left position. |
xmin, ymin
|
|
EXTMAX. Coordinates of upper right position. |
xmax, ymax
|
|
VIEWCTR. Coordinate of the center of viewport. |
WINDOW
|
|
CECOLOR. Current entity color. |
COLOR
|
|
LUPREC. Dimension Precision. |
PRECISION
|
|
GRIDMODE. Flag for Grid. |
Grid
|
|
SNAPMODE. Flag for Snap. |
Snap
|
|
COORDS. Cursor Tracking mode. |
Cursor Track
|
|
DIMEXE. Gap of arrow from end of witness line. |
Arrow Gap
|
|
DIMTP. Maximum value of tolerance. |
Max. Toler.
|
|
DIMTM. Minimum value of tolerance. |
Min. Toler.
|
|
DIMTXT. Dimension height. |
Dim. Height
|
|
TXTSIZE. Note height. |
Note Height
|
|
DIMLFAC. Dimension scale. |
Dim. Scale
|
|
DIMTFAC. Tolerance scale. |
Toler. Scale
|
|
ELEVATION. Current Depth. |
Depth
|
|
SNAPBASE. Snap Base. |
Snap Base
|
|
SNAPUNIT. Snap increment. |
Snap incr.
|
|
GRIDUNIT. Grid increment. |
Grid incr. |