System variables
System variables hold drawing settings: the units, the current layer and color, the fillet radius, how points look… LinceCAD uses the same names and the same values as AutoCAD, and stores them in the drawing header: when the DWG or DXF file is opened in AutoCAD they are kept, and the other way round.
Reading and changing a variable
- Enter SETVAR (or SET).
Enter variable name or [?]:
- Enter the variable name, or
?to list all of them with their values in the text window.
Enter new value for … <…>:
- Enter the new value, or press Enter to keep the current one (shown between
< >).
The variable name can also be typed directly on the command line, as if it were a command: LTSCALE asks for the new value of LTSCALE. The _ and . prefixes are accepted, as in AutoCAD.
Notes
- Real numbers can be typed with a decimal comma or point (
2,5or2.5). Distances also accept feet and inches (1'-3 1/2"). - If the value is not valid, the program says so and keeps the previous one.
Invalid value for …: …
- Changes can be undone with UNDO and are saved with the drawing, except for the variables marked as session ones, which last until the program is closed.
- From AutoLISP they are read and changed with getvar and setvar, which also know other variables (DIMZIN, UNITMODE, OSMODE, ORTHOMODE, DWGNAME…). See AutoLISP.
List of variables
| Variable | What it controls |
|---|---|
| AFLAGS | Modes of the next attribute definition |
| ANGBASE | Direction of angle 0 |
| ANGDIR | Direction of positive angles |
| ANNOAUTOSCALE | Scale added when the annotation scale changes |
| ATTDIA | Whether INSERT asks for attributes in a dialog box |
| ATTMODE | Attribute visibility |
| ATTREQ | Whether INSERT asks for attribute values |
| AUNITS | Angle format |
| AUPREC | Angle precision |
| BINDTYPE | Names when binding external references |
| CANNOSCALE | Current annotation scale |
| CECOLOR | Color of new objects |
| CELTSCALE | Linetype scale of new objects |
| CELTYPE | Linetype of new objects |
| CENTERCROSSGAP | Gap between the cross and the extensions of center marks |
| CENTERCROSSSIZE | Size of the cross of center marks |
| CENTEREXE | Overshoot of center marks and centerlines |
| CENTERLAYER | Layer of center marks and centerlines |
| CENTERLTSCALE | Linetype scale of center marks and centerlines |
| CENTERLTYPE | Linetype of center marks and centerlines |
| CENTERMARKEXE | Extension lines of center marks |
| CETRANSPARENCY | Transparency of new objects |
| CHAMFERA | First chamfer distance |
| CHAMFERB | Second chamfer distance |
| CLAYER | Current layer |
| CMLJUST | Justification of new multilines |
| CMLSCALE | Scale of new multilines |
| COORDS | How cursor coordinates are shown on the status bar |
| CTABLESTYLE | Current table style |
| DELOBJ | Whether commands that build objects from others |
| DIMASSOC | Associativity of new dimensions |
| DIMCEN | Center mark of DIMCENTER, DIMRADIUS and DIMDIAMETER |
| DIMSCALE | Overall dimension scale |
| DIMSTYLE | Current dimension style |
| DISPSILH | Silhouette of solids in wireframe |
| DRAGMODE | Dragging of objects while points are picked |
| DYNMODE | Dynamic input on or off |
| ELEVATION | Elevation of new objects |
| EXTMAX | Upper right corner of the drawing extents |
| EXTMIN | Lower left corner of the drawing extents |
| FACETRES | Smoothness of the tessellation of solids and surfaces |
| FIELDDISPLAY | Gray background of fields |
| FILEDIA | File dialog box |
| FILLETRAD | Fillet radius |
| FILLMODE | Fill of solids and wide polylines |
| HALOGAP | Gap left by objects hidden behind others, as a % of a unit |
| HIDETEXT | Whether HIDE takes texts into account |
| HPGAPTOL | Hatch gap tolerance |
| IMAGEFRAME | Image frames |
| INDEXCTL | Layer and spatial indexes saved with the drawing |
| INSBASE | Insertion base point of the drawing |
| INSUNITS | Insertion units |
| ISOLINES | Isolines on the curved faces of solids |
| LAYOUTCREATEVIEWPORT | Viewport in new layouts |
| LENSLENGTH | Lens length of the perspective |
| LAYLOCKFADECTL | Fading of locked layers |
| LIMCHECK | Drawing limits checking |
| LIMMAX | Upper right corner of the limits |
| LIMMIN | Lower left corner of the limits |
| LTSCALE | Global linetype scale |
| LUNITS | Length format |
| LUPREC | Length precision |
| LWDISPLAY | Lineweight display |
| MAXACTVP | Maximum number of viewports active at once in a layout |
| MEASUREMENT | Drawing units for hatch patterns and linetypes |
| MIRRTEXT | Mirroring of text |
| PDFFRAME | Frame of PDF underlays |
| PDMODE | Point symbol |
| PDSIZE | Point size |
| PELEVATION | Paper space elevation |
| PELLIPSE | Whether ELLIPSE creates true ellipses |
| PERSPECTIVE | Perspective or parallel view |
| PICKSTYLE | Group selection |
| PLINEGEN | Whether the linetype of new polylines runs along the whole polyline |
| PLINEWID | Default polyline width |
| POLYSIDES | Default sides of POLYGON |
| PROXYGRAPHICS | Whether proxy object images are saved in the drawing |
| PSLTSCALE | Whether linetype scaling in viewports follows each viewport scale |
| PSOLHEIGHT | Height of new polysolids |
| PSOLWIDTH | Width of new polysolids |
| PSTYLEMODE | Whether the drawing uses color-dependent |
| QTEXTMODE | Quick text |
| REFPATHTYPE | Path type of new references |
| REGENMODE | Automatic regeneration of the drawing |
| SETBYLAYERMODE | Properties SETBYLAYER sets to ByLayer |
| SHADEDGE | How faces and edges are shaded |
| SHADEDIF | Diffuse versus ambient light when shading, in % |
| SKETCHINC | SKETCH increment |
| SKPOLY | SKETCH type |
| SKTOLERANCE | SKETCH fit tolerance |
| SNAPISOPAIR | Current isometric plane |
| SNAPSTYL | Normal or isometric snap |
| SORTENTS | Which operations follow the draw order of objects |
| SPLFRAME | Whether the control frames of spline-fit polylines and invisible faces are shown |
| SPLINESEGQS | Segments of the surfaces of smoothed mesh polylines |
| SPLINESEGS | Segments per span when spline-fitting polylines |
| SPLINETYPE | Curve type when spline-fitting polylines |
| SURFTYPE | Surface type when smoothing meshes |
| SURFU | Density of smoothed surfaces in the M direction |
| SURFV | Density of smoothed surfaces in the N direction |
| TARGET | Target of the view |
| TEXTQLTY | Resolution of TrueType texts when plotting, from 0 to 100 |
| TEXTSIZE | Default text height |
| TEXTSTYLE | Current text style |
| THICKNESS | Thickness of new objects |
| TILEMODE | Whether the Model tab |
| TRANSPARENCYDISPLAY | Display transparency |
| UCSICON | UCS icon |
| UNITMODE | Whether fractional and feet-and-inches units are shown as typed |
| USRTIMER | Whether the TIME user timer is running |
| VIEWCTR | Center of the view |
| VIEWDIR | Viewing direction |
| VIEWSIZE | Height of the view |
| VIEWTWIST | View twist |
| VISRETAIN | Changes to reference layers |
| VSCURRENT | Visual style of the current viewport |
| XCLIPFRAME | Boundary of clipped references |
| XFADECTL | Fading of external references |