Creates and removes layers and layer states, and changes their properties through the command bar.
Accessing the Command
command bar: -layer
transparent: '-layer
alias: -la
: -Layer
Prompts you in the command bar:
Layer [? to list/ New layer/ Make new current layer/ Set layer as current/ Color/ Linetype/ LineWeight/ TRansparency/MATerial/Plot/stAte/turn layer ON/turn layer OFf/ Freeze/ Thaw/ LOck/ Unlock]: (Enter an option, or else press Enter to end the command)
Command Options
Option |
Description |
? to list |
Lists the names of layers in the current drawing. Press F2 to flip to the Prompt window to see the list. Use wildcards, such as ? and *, to narrow down the list of names. |
New layer |
Creates new layers; prompts you: Names for new layers - (enter one or more layer names. To create several new layers at the same time, separate each name with a comma, such as doors,windows,walls.) |
Make new current layer |
Creates a new layer, and then makes it current. This option combines the New and Set options; prompts you: New layer to make current - (enter a layer name; only one layer may be current.) |
Set layer as current |
Sets a layer as the current one; prompts you: New layer to make current - (enter a layer name; only one layer may be current.) |
Color |
Changes the color of layers; prompts you:
|
Linetype |
Changes the linetype of layers; prompts you:
|
LineWeight |
Changes the lineweight of layers; prompts you:
|
TRansparency |
Sets the entity transparency factor between 0 (fully opaque) and 90 (fully transparent); prompts you:
The 2DWireframe visual style ignores this setting; for it, use the TRANSPARENCYDISPLAY variable to control the level of transparency. |
MATerial |
Sets the material property for all entities on the layer; prompts you:
The default material is Global, which cannot be deleted or renamed. When you need to add more materials to the drawing, see the Materials command. |
Plot |
Changes the plot status of layers (plot or no plot); prompts you:
|
stAte |
Creates, edits, renames, restores, deletes, imports, and exports layer states. See the LayerState command. Prompts you: Enter an option [? to list layer states/ Save/ Restore/ Edit/ reName/ Delete/ Import/ eXport] - (enter an option):
|
turn layer ON |
Turns layers on that had been turned off with the OFf option; prompts you: Layer(s) to turn ON - (specify the names of layer name(s) to turn on; separating multiple layer names with commas.) |
turn layer OFf |
Turns layers off to hide their entities from view; prompts you: Layer(s) to turn OFF - (specify the names of layer name(s) to turn off; separating multiple layer names with commas.) The current layer cannot be turned off. When layers are off, they are hidden from view. In most cases, you should probably use the Freeze option, as it offers more features. |
Freeze |
Freezes layers so that they are hidden from view; prompts you: Layer(s) to Freeze - (specify the names of layer name(s) to freeze; separating multiple layer names with commas.) The current layer cannot be frozen. When layers are frozen...
|
Thaw |
Thaws layers that were previously hidden with the Freeze option; prompts you: Layer(s) to Thaw - (specify the names of layer name(s) to thaw; separating multiple layer names with commas.) |
LOck |
Locks layers so that their entities remain visible but cannot be edited; prompts you: Layer(s) to Lock - (specify the names of layer name(s) to lock; separating multiple layer names with commas.) The current layer can be locked. |
Unlock |
Unlocks layers that were locked form editing with the LOck option; prompts you: Layer(s) to Unlock - (specify the names of layer name(s) to unlock; separating multiple layer names with commas.) |
Related Commands
Layer - creates layers and changes their properties in the Drawing Explorer.
LayersPanelOpen - opens the Layers panel, which allows to edit the layers in the current drawing.
LayersPanelClose - closes the Layers panel.
LayerState - saves and restores layer states.
LayMCur - changes the working layer to that of a selected entity
LayFrz - freezes layers associated with selected entities.
LayThw - thaws all frozen layers.
LayIso - isolates layers associated with selected entities.
LayLck - locks layers associated with selected entities.
LayUlk - unlocks layers associated with selected entities.
LayOff - turns off layers associated with selected entities.
LayOn - turns on all layers that have been turned off.