-LAYER command

Manages layers through the Command line.

BricsCAD Shape; BricsCAD Lite; BricsCAD Pro; BricsCAD Mechanical; BricsCAD BIM

Alias: -LA

Description

Creates layers and layer states and changes their properties.

Note: The current layer cannot be turned off and frozen.

Options within the command

?
Lists the names of layers in the current drawing.
New layer
Creates new layers.
Note: You can create several new layers by separating each name with a comma (,).
Make new current layer
Creates a new layer, and then makes it current.
Set layer as current
Sets a layer as the current one.
Rename
Renames the layer.
Color
Changes the color of layers.
Linetype
Changes the linetype of layers.
LineWeight
Changes the lineweight of layers.
TRansparency
Sets the entity transparency factor between 0 (fully opaque) and 90 (fully transparent).
MATerial
Sets the material property for all entities on the layer.
Plot
Changes the plot status of layers.
stAte
Manages layer states.
Save
Saves the current layer state.
Restore
Restores a saved layer state.
Edit
Edits a saved layer state.
reName
Renames a saved layer state.
Delete
Deletes a saved layer state.
Import
Displays the Import Layers States dialog box, which allows you to import a layer state from a file into the current drawing.
eXport
Exports a saved layer state in the current drawing to a layer state file.
turn layer ON
Turns layers on that were previously turned off.
turn layer OFf
Turns layers off to hide their entities from view.
Freeze
Freezes layers so that they are hidden from view.
Thaw
Thaws layers that were previously hidden with the Freeze option.
LOck
Locks layers so that their entities remain visible but cannot be edited.
Unlock
Unlocks layers that were previously locked.
Description
Allows you to set the description property value of existing layers.

Enter the description, then enter the name(s) of the layer(s) to apply the description to. When listing multiple layer names, separate the names with a comma (,).

A warning prompt is displayed when you list a layer with an existing description.

rEconcile
Sets the unreconciled property of one or more unreconciled layers. When listing multiple layer names, separate the names with a comma (,).
Xref
Resets the XRef layer property override in the current drawing to the layer settings in the XRef.
Note: The VISRETAIN system variable:

Controls the visibility, color, linetype and lineweight of an XRef, and if path changes to nested XRefs are saved. If the PSTYLEPOLICY system variable is off (0), also controls the plotstyles of XRef-dependent layers.

  • If Off (0): Changes made to XRefs-dependent layers in the current drawing are valid in the current session only and are not saved with the drawing. When the current drawing is reopened, the layer table is reloaded from the reference drawing and the current drawing reflects those settings. The layer settings affected are On, Off, Freeze, Thaw, Color, Ltype, LWeight, and PStyle (if PSTYLEPOLICY is set to 0).
  • If On (1): Layer settings are saved with the current drawing's layer table and persist from session to session.