Skip to content

Layers and object properties

Layers organize a drawing like stacked transparent sheets: every object is on a layer and, unless the object says otherwise, the layer sets its color, linetype, lineweight and transparency. Turning a layer off, freezing it or locking it affects all its objects at once.

The layer control

The layer control is on the ribbon (Home tab, Layers panel) and on the Layers toolbar of the Classic workspace: the drop-down list with the current layer and, for each layer, the state icons:

IconStateEffect
Light bulbOn or offObjects on a layer that is off are neither shown nor plotted
Sun or snowflakeThawed or frozenLike off, and also left out of calculations; the current layer cannot be frozen
Sun with viewportFrozen in the current viewportOnly in a layout viewport
PadlockUnlocked or lockedObjects are visible but cannot be selected or modified
Color swatchLayer colorClick to change it

Choosing a layer in the drop-down list makes it current: new objects are created on it. The current layer is also shown on the status bar.

The Layer Properties Manager

LAYER opens the Layer Properties Manager, a palette with one row per layer and AutoCAD's columns: status, name, on, freeze, VP freeze, lock, color, linetype, lineweight, transparency, plot, new VP freeze and description. Click a column title to sort, select several layers at once, and search by name with wildcards (*, ?).

Layer commands

CommandWhat it does
LAYMCURMakes an object's layer current
LAYMCHMoves objects to another object's layer
LAYERPUndoes the last change to layer settings
LAYISO / LAYUNISOLeaves only the layers of the selection visible, and undoes it
LAYOFF / LAYONTurns off an object's layer / turns all layers on
LAYFRZ / LAYTHWFreezes an object's layer / thaws all layers
LAYLCK / LAYULKLocks or unlocks an object's layer
LAYMRGMoves the objects of some layers to another one and deletes the former
LAYDELDeletes layers together with all their objects
-LAYERAll of the above from the command line (for scripts)

Color, linetype, lineweight and transparency

Each object has four properties that can take a specific value or one of these two:

Objects on layer 0 inside a block are drawn with the layer of the inserted block.

PropertyCommandValues
ColorCOLORByLayer, ByBlock, the 255 index colors (ACI) or an RGB true color
LinetypeLINETYPEContinuous and the loaded linetypes; more can be loaded from .lin files
LineweightLWEIGHTByLayer, ByBlock or a lineweight in millimeters
TransparencyPROPERTIESByLayer, ByBlock or 0 (opaque) to 90 %

The global linetype scale is LTSCALE; the one for new objects is CELTSCALE. The current values are in CLAYER, CECOLOR and CELTYPE. Lineweights are always shown on screen (the LWDISPLAY toggle is not available yet), and when plotting they depend on the plot style table.

To change the properties of objects already drawn, use the PROPERTIES palette or MATCHPROP.

Transparency

Transparency lets what is underneath an object show through: at 50 %, the object is half visible over the background and over whatever is behind it. Object transparency is changed in the Properties palette; layer transparency, in the Transparency column of the layer manager or with the TRansparency option of -LAYER. New objects take CETRANSPARENCY, which starts as ByLayer.

See also

Editing and properties · Blocks · Layouts and plotting · PURGE

Download LinceCAD Manual contents