SETVAR — System Variables
Lists or changes a system variable.
- Command:
SETVAR· Global name:_SETVAR· Alias:SET - Ribbon: Manage › Drawing
- Menu: Tools
Shows or changes the value of a system variable of the drawing: units, current layer, linetype scale, fillet radius… The variable name can also be entered directly, as if it were a command.
Usage
- Enter SETVAR (or SET).
Enter variable name or [?]:
- Enter the variable name, or
?to see the list of all of them with their values (in the text window, F2). - Enter the new value. Enter keeps the current value, shown between
< >.
Enter new value for … <…>:
Shortcut: enter the variable name on the command line (for example LTSCALE) and go straight to step 3.
Variables
ANGBASE · ANGDIR · ATTMODE · AUNITS · AUPREC · CECOLOR · CELTSCALE · CELTYPE · CHAMFERA · CHAMFERB · CLAYER · CTABLESTYLE · DIMSCALE · DIMSTYLE · ELEVATION · FILLETRAD · FILLMODE · IMAGEFRAME · INSBASE · INSUNITS · LTSCALE · LUNITS · LUPREC · LWDISPLAY · MIRRTEXT · PDMODE · PDSIZE · PICKSTYLE · PLINEWID · SPLINESEGS · SPLINETYPE · TEXTSIZE · TEXTSTYLE · THICKNESS
Notes
- A value out of range or of the wrong type is rejected with a warning and the variable does not change.
- Variables that name something (CLAYER, CELTYPE, TEXTSTYLE, DIMSTYLE, CTABLESTYLE) require it to exist: they do not create the layer or the style. Names with spaces are accepted.
- The change is saved in the drawing and undone with UNDO.
- Only these variables are available; AutoCAD has many more. See System variables.