KufCad

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.

VariableTypeRead-onlyMeaning
ANGBASErealAngle 0 direction (degrees)
ANGDIRintegerPositive angle direction: 0 = CCW, 1 = CW
ANNOALLVISIBLEintegerShow all annotative objects (1) or only those matching the current scale (0)
ANNOAUTOSCALEintegerAutomatically add the annotative scale when CANNOSCALE changes
APERTUREintegerObject snap target radius in pixels 1..50
ATTDIAintegerINSERT asks for attributes with a dialog (1) or on the command line (0)
ATTMODEintegerAttribute display: 0 Off, 1 Normal, 2 On
ATTREQintegerINSERT asks for attribute values (1) or uses the defaults (0)
AUNITSintegerAngular units: 0 degrees, 1 deg/min/sec, 2 grads, 3 radians, 4 surveyor
AUPRECintegerAngular decimal places
BLOCKEDITLOCKintegerLock the Block Editor (1 = BEDIT cannot open)
CANNOSCALEstringCurrent annotation scale
CCONSTRAINTFORMintegerNew dimensional constraints: 0 Dynamic, 1 Annotational
CDATErealyesCurrent date and time (yyyymmdd.hhmmss)
CELTSCALErealLinetype scale for new objects
CLAYERstringCurrent layer
CMLEADERSTYLEstringCurrent multileader style
CMLSTYLEstringCurrent multiline style
CONSTRAINTBARDISPLAYintegerShow the constraint bar after applying constraints (1) or not (0)
CONSTRAINTBARMODEintegerBit mask of constraint types shown on the constraint bar (4095 = all)
CONSTRAINTINFERintegerInfer geometric constraints while drawing and editing (1) or not (0)
CONSTRAINTNAMEFORMATintegerDimensional constraint text: 0 Name, 1 Value, 2 Name and expression
CONSTRAINTRELAXintegerOn violation: 0 move other objects to satisfy constraints, 1 remove the violated constraint
CONSTRAINTSOLVEMODEinteger1 = keep object size when applying constraints
CTABLESTYLEstringCurrent table style
DATErealyesCurrent Julian date
DIMASSOCintegerDimensions: 0 exploded, 1 non-associative, 2 associative
DIMSTYLEstringCurrent dimension style
DYNCONSTRAINTMODEintegerShow hidden dynamic constraints for selected objects (1) or keep them hidden (0)
FIELDDISPLAYintegerGray background for FIELD
FILEDIAintegerFile commands show a file dialog (1) or ask for the path on the command line (0)
FILLMODEintegerFill hatch/solid/wide polylines
FONTALTstringReplacement for missing fonts (default arial.ttf)
HPASSOCintegerNew hatches are associative with their boundary
HPISLANDDETECTIONintegerIsland detection: 0 Normal, 1 Outer, 2 Ignore
IMAGEFRAMEintegerRaster image frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted
IMAGEQUALITYintegerImage display quality: 0 Draft, 1 High
INSUNITSintegerInsertion units for blocks/images (4 = mm)
LIMCHECKintegerRestrict drawing outside LIMITS
LTSCALErealGlobal linetype scale
LUNITSintegerLinear units: 1 Scientific, 2 Decimal, 3 Engineering, 4 Architectural, 5 Fractional
LUPRECintegerLinear decimal places
LWDISPLAYintegerDisplay lineweights
OSMODEintegerRunning 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)
PARAMETERSSTATUSintegeryesParameters Manager is open (1) or closed (0)
PDMODEintegerPOINT display style
PDSIZErealPOINT size (negative = % of screen)
SKPOLYintegerSKETCH creates polylines (1) or lines (0)
TEXTFILLintegerFill TrueType text: 1 filled (default), 0 outline only
TEXTSTYLEstringCurrent text style
UNDOCTLintegeryesUNDO state (bits)
VIEWRESintegerArc/circle smoothness 1..20000
WIPEOUTFRAMEintegerWipeout frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted
XCLIPFRAMEintegerXCLIP frame: 0 hidden, 1 shown + plotted, 2 shown, not plotted
ZOOMFACTORintegerMouse wheel zoom step 3..100
ZOOMWHEELintegerWheel direction: 0 normal, 1 reversed