Applies to 2018.1 Update and later
Manages layers and layer properties.
The following prompts are displayed.
Displays a list of the currently defined layers, showing their names, states, color numbers, linetypes, lineweights, and whether they are externally dependent layers.
Creates a layer and makes it current. New objects are drawn on the current layer.
If no layer exists for the name you enter, a new layer with that name is created. The new layer is on and assumes the following properties by default: color number 7, the CONTINUOUS linetype, and a lineweight of DEFAULT.
If the layer exists but is turned off, it is turned on.
Specifies a new current layer but does not create the layer if it does not already exist. If the layer exists but is turned off, it is turned on and made current. A frozen layer cannot be made current.
Creates layers. You can create two or more layers by entering names separated by commas.
Renames an existing layer.
Makes selected layers visible and available for plotting.
Makes selected layers invisible and excludes them from plotting.
Changes the color associated with a layer. Enter a color name or a number from 1 through 255.
Specifies a true color to be used for the selected object. Enter three integer values from 0 to 255 separated by commas to specify a true color.
Specifies a color from a loaded color book, guide, or set to use for the selected object. Enter the name of a color book that has been installed, such as "DIC COLOR GUIDE(R)$DIC 43".
The color is assigned to the layer or layers, and the layers are turned on. To assign a color but turn off the layer, precede the color with a minus sign (-).
Changes the linetype associated with a layer.
Changes the lineweight associated with a layer.
If you enter a valid lineweight, the current lineweight is set to the new value. If you enter a lineweight that is not valid, the current lineweight is set to the nearest fixed lineweight value. If you would like to plot an object with a custom width not found in the list of fixed lineweight values, you can use the Plot Style Table Editor to customize plotted lineweights.
Changes the transparency level associated with a layer. Enter a value from 0 to 90.
After specifying a transparency value, the following prompt is displayed:
Attaches a material to a layer. The material must be available in the drawing before it can be assigned to a layer.
Controls whether visible layers are plotted. If a layer is set to plot but is currently frozen or turned off, the layer is not plotted.
Sets the plot style assigned to a layer.
If you select a plot style other than NORMAL, the following prompt is displayed:
Freezes layers, making them invisible and excluding them from regeneration and plotting.
Thaws frozen layers, making them visible and available for regeneration and plotting.
Locks layers, preventing editing of objects on those layers.
Unlocks selected locked layers, permitting editing of objects on those layers.
Saves and restores the state and property settings of the layers in a drawing.
Lists the named layer state (LAS) files in the support path for the drawing.
Saves the state and properties settings of the layers in a drawing under a specified layer state name. When saving a layer state, you specify which layer settings are affected when the layer state is later restored.
Restores the state and property settings of all layers to previously saved settings. Restores only those layer state and property settings that were selected when the layer state was saved.
Changes the saved layer settings for a specified layer state. When the layer state is restored, the specified settings are used.
Changes the name of a saved layer state.
Removes a saved layer state.
Loads a previously exported layer state (LAS) file, or layers states from a file (DWG, DWS, DWT) into the current drawing. Additional layers may be created as a result of importing a layer state file.
Saves a selected named layer state to a layer state (LAS) file.
Sets the description property value of the existing layer.
A warning prompt is displayed when you enter a description to a layer with an existing description.
Sets the unreconciled property of an unreconciled layer.
Displays a list of all unreconciled layers.
Resets the xref layer property override in the current drawing to the layer settings in the xref.
After specifying the xref layer property or all properties, the following prompt is displayed:
Displays a list of all xref layer names.