B. System variables
System variables hold settings of the drawing and of the session. To see a value, type the variable name on the command line; to change it, type SETVAR, the name and the new value, or just type the name. SETVAR then ? lists variables by pattern.
| Variable | Type | Read-only | Meaning |
|---|---|---|---|
ANGBASE | real | Angle 0 direction (degrees) | |
ANGDIR | integer | Positive angle direction: 0 = CCW, 1 = CW | |
ANNOALLVISIBLE | integer | Show all annotative objects (1) or only those matching the current scale (0) | |
ANNOAUTOSCALE | integer | Automatically add the annotative scale when CANNOSCALE changes | |
APERTURE | integer | Object snap target radius in pixels 1..50 | |
ATTDIA | integer | INSERT asks for attributes with a dialog (1) or on the command line (0) | |
ATTMODE | integer | Attribute display: 0 Off, 1 Normal, 2 On | |
ATTREQ | integer | INSERT asks for attribute values (1) or uses the defaults (0) | |
AUNITS | integer | Angular units: 0 degrees, 1 deg/min/sec, 2 grads, 3 radians, 4 surveyor | |
AUPREC | integer | Angular decimal places | |
BLOCKEDITLOCK | integer | Lock the Block Editor (1 = BEDIT cannot open) | |
CANNOSCALE | string | Current annotation scale | |
CCONSTRAINTFORM | integer | New dimensional constraints: 0 Dynamic, 1 Annotational | |
CDATE | real | yes | Current date and time (yyyymmdd.hhmmss) |
CELTSCALE | real | Linetype scale for new objects | |
CLAYER | string | Current layer | |
CMLEADERSTYLE | string | Current multileader style | |
CMLSTYLE | string | Current multiline style | |
CONSTRAINTBARDISPLAY | integer | Show the constraint bar after applying constraints (1) or not (0) | |
CONSTRAINTBARMODE | integer | Bit mask of constraint types shown on the constraint bar (4095 = all) | |
CONSTRAINTINFER | integer | Infer geometric constraints while drawing and editing (1) or not (0) | |
CONSTRAINTNAMEFORMAT | integer | Dimensional constraint text: 0 Name, 1 Value, 2 Name and expression | |
CONSTRAINTRELAX | integer | On violation: 0 move other objects to satisfy constraints, 1 remove the violated constraint | |
CONSTRAINTSOLVEMODE | integer | 1 = keep object size when applying constraints | |
CTABLESTYLE | string | Current table style | |
DATE | real | yes | Current Julian date |
DIMASSOC | integer | Dimensions: 0 exploded, 1 non-associative, 2 associative | |
DIMSTYLE | string | Current dimension style | |
DYNCONSTRAINTMODE | integer | Show hidden dynamic constraints for selected objects (1) or keep them hidden (0) | |
FIELDDISPLAY | integer | Gray background for FIELD | |
FILEDIA | integer | File commands show a file dialog (1) or ask for the path on the command line (0) | |
FILLMODE | integer | Fill hatch/solid/wide polylines | |
FONTALT | string | Replacement for missing fonts (default arial.ttf) | |
HPASSOC | integer | New hatches are associative with their boundary | |
HPISLANDDETECTION | integer | Island detection: 0 Normal, 1 Outer, 2 Ignore | |
IMAGEFRAME | integer | Raster image frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted | |
IMAGEQUALITY | integer | Image display quality: 0 Draft, 1 High | |
INSUNITS | integer | Insertion units for blocks/images (4 = mm) | |
LIMCHECK | integer | Restrict drawing outside LIMITS | |
LTSCALE | real | Global linetype scale | |
LUNITS | integer | Linear units: 1 Scientific, 2 Decimal, 3 Engineering, 4 Architectural, 5 Fractional | |
LUPREC | integer | Linear decimal places | |
LWDISPLAY | integer | Display lineweights | |
OSMODE | integer | Running object snaps (bit code: 1 END, 2 MID, 4 CEN, 8 NOD, 16 QUA, 32 INT, 64 INS, 128 PER, 256 TAN, 512 NEA, 1024 GCEN, 2048 APP, 4096 EXT, 8192 PAR, 16384 = OSNAP off) | |
PARAMETERSSTATUS | integer | yes | Parameters Manager is open (1) or closed (0) |
PDMODE | integer | POINT display style | |
PDSIZE | real | POINT size (negative = % of screen) | |
SKPOLY | integer | SKETCH creates polylines (1) or lines (0) | |
TEXTFILL | integer | Fill TrueType text: 1 filled (default), 0 outline only | |
TEXTSTYLE | string | Current text style | |
UNDOCTL | integer | yes | UNDO state (bits) |
VIEWRES | integer | Arc/circle smoothness 1..20000 | |
WIPEOUTFRAME | integer | Wipeout frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted | |
XCLIPFRAME | integer | XCLIP frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted | |
ZOOMFACTOR | integer | Mouse wheel zoom step 3..100 | |
ZOOMWHEEL | integer | Wheel direction: 0 normal, 1 reversed |