Command Entry: -LAYER

← Prev | ↑ Chapter | Next → | Index | Symbols

Command Entry: -LAYER

Name

-LAYER

Aliases

-LA

Synopsis

Manages layers and layer properties from the Command line.

Options

? / Make / Set / New / Rename / On / Off / Color / Ltype / Lweight / TRansparency / MATerial / Plot / Pstyle / Freeze / Thaw / LOck / Unlock / stAte / Description / rEconcile / Xref

Argument Sequence

An option keyword, followed by that option's own values (e.g. a layer name, a color, a linetype, a lineweight, or a state sub-option), repeated as needed, then an empty string to exit the command.

Description

The command-line version of LAYER: creates layers and layer states and changes their properties (on/off, freeze/thaw, lock/unlock, color, linetype, lineweight, transparency, material, plot, description). The current layer cannot be turned off and frozen.

Category

layer

Availability

  • AutoCAD, all versions: documented.
  • BricsCAD, all versions: documented.
  • clautolisp: Implemented in the cador host (executed against the drawing model).

Compatibility

AutoCAD all; BricsCAD all.

clautolisp

Implemented in the cador host (executed against the drawing model). Support tier: deferred – in scope eventually, not scheduled now.