-LAYER
 
 
 

If you enter -layer at the Command prompt, the following prompts are displayed.

Current layer: <"current">

Enter an option [ ?/ Make/ Set/ New/ Rename/ ON/ OFF/ Color/ Ltype/ LWeight/ MATerial/ Plot/ PStyle/ Freeze/ Thaw/ LOck/ Unlock/ stAte/ Description/ rEconcile]:

NoteThe Pstyle option is available only when you are using named plot styles.

?—List Layers

Displays a list of the currently defined layers, showing their names, states, color numbers, linetypes, lineweights, and whether they are externally dependent layers.

Enter layer name(s) to list <*>: Enter a name list, or press ENTER to list all layers

Make

Creates a layer and makes it current. New objects are drawn on the current layer.

Enter name for new layer (becomes the current layer) <current>: Enter a name or press ENTER

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.

Set

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.

Enter a layer name to make current or <select object>: Enter a name or press ENTER and select an object

New

Creates layers. You can create two or more layers by entering names separated by commas.

Enter name list for new layer(s):

Rename

Renames an existing layer.

Enter old layer name: Enter old layer name and press ENTER

Enter new layer name: Enter new name and press ENTER

On

Makes selected layers visible and available for plotting.

Enter name list of layer(s) to turn On:

Off

Makes selected layers invisible and excludes them from plotting.

Enter name list of layer(s) to turn Off or <select objects>: Enter a name list or press ENTER and select objects

Color

Changes the color associated with a layer.

Enter color name or number (1-255)[Truecolor/COlorbook]: Enter a color name or a number from 1 through 255, enter t, or enter co

True Color

Specifies a true color to be used for the selected object.

Red, Green, Blue: Enter three integer values from 0 to 255 separated by commas to specify a true color

Color Book

Specifies a color from a loaded color book to used for the selected object.

Enter Color Book name: Enter the name of a color book that has been installed, such as PANTONE®

If you enter a color book name, the following prompt is displayed:

Enter color name: Enter the name of a color included in the selected color book, such as PANTONE® 573

Enter name list of layer(s) for color current <current>: Enter a name or a list of names separated by commas, or press ENTER

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 (-).

Ltype

Changes the linetype associated with a layer.

Enter a loaded linetype name or [?] <CONTINUOUS>: Enter a currently loaded linetype name, enter ?, or press ENTER

If you enter a linetype or press ENTER, the following prompt is displayed:

Enter name list of layer(s) for linetype "current" <current>: Enter a wild-card pattern, a name, or a list of names separated by commas, or press ENTER

If you enter ? at the Enter a Loaded Linetype Name prompt, the following prompt is displayed:

Enter linetype name(s) to list <*>: Enter a wild-card pattern, or press ENTER to list all names in the drawing

Lweight

Changes the lineweight associated with a layer.

Enter lineweight (0.0mm-2.11mm):

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.

Enter name list of layers(s) for lineweight current <current>: Enter a name list or press ENTER

The lineweight is assigned to the layer or layers.

Material

Attaches a material to a layer. The material must be available in the drawing before it can be assigned to a layer.

Enter material name or [?] <GLOBAL>: Enter the name of a material currently available in the drawing, enter ?, or press ENTER

If you enter ?, the following prompt is displayed:

Enter material name(s) to list <*>: Press ENTER to list all materials in the drawing

Objects created on the layer are assigned the material.

Plot

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.

Enter a plotting preference [Plot/No plot] <Plot>: Enter an option or press ENTER

Enter layer name(s) for this plot preference <current>: Enter a name list or press ENTER

The plot setting is assigned to the layer or layers.

Pstyle

Sets the plot style assigned to a layer. This option is not available if you are using color-dependent plot styles in the current drawing (the PSTYLEPOLICY system variable is set to 1). See Use Plot Styles to Control Plotted Objects in the User's Guide.

Enter plot style or [?] <Normal>: Enter a name, enter ? to list existing plot styles, or press ENTER

If you select a plot style other than NORMAL, the following prompt is displayed:

Enter name list of layer(s) for plot style current <current>: Enter the names of the layers to use this plot style, or press ENTER to apply the style to the current layer only

Freeze

Freezes layers, making them invisible and excluding them from regeneration and plotting.

Enter name list of layer(s) to freeze or <select objects>: Enter a name list or press ENTER and select objects

Thaw

Thaws frozen layers, making them visible and available for regeneration and plotting.

Enter a name list of layer(s) to thaw:

Lock

Locks layers, preventing editing of objects on those layers.

Enter a name list of layer(s) to lock or <select objects>: Enter a name list or press ENTER and select objects

Unlock

Unlocks selected locked layers, permitting editing of objects on those layers.

Enter a name list of layer(s) to unlock or <select objects>: Enter a name list or press ENTER and select objects

State

Saves and restores the state and property settings of the layers in a drawing.

Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]:

?—List Named Layer States

Lists the named layer state (LAS) files in the support path for the drawing.

Save

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.

Enter new layer state name: Enter a name and press ENTER

Enter states to change

[On/Frozen/Lock/Plot/Newvpfreeze/Color/lineType/lineWeight/plotStyle]: Enter the settings that you want to save and then press ENTER

Restore

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.

Enter name of layer state to restore or [?]: Enter the layer state name or enter ? to see a list of saved layer state names

Edit

Changes the saved layer settings for a specified layer state. When the layer state is restored, the specified settings are used.

Enter name of layer state to edit or [?]: Enter the layer state name or enter ? to see a list of saved layer state names

Enter states to change

[On/Frozen/Lock/Plot/Newvpfreeze/Color/lineType/lineWeight/plotStyle]: Enter the settings that you want to change and then press ENTER

Name

Changes the name of a saved layer state.

Enter name of layer state to rename or [?]: Enter the layer state name or enter ? to see a list of saved layer state names

Enter new layer state name:

Delete

Removes a saved layer state.

Enter name of layer state to delete or [?]: Enter the layer state name or enter ? to see a list of saved layer state names

Import

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.

Enter file name to import <current>:

Export

Saves a selected named layer state to a layer state (LAS) file.

Enter name of layer state to export or [?]: Enter the layer state name or enter ? to see a list of saved layer state names

Export state to file name:

Description

Sets the description property value of the existing layer.

Enter layer description: Enter description of the current layer and press ENTER

Enter name list of layer(s) to apply description: Enter name list of layers where the description will be applied and press ENTER

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

Replace existing description(s)? [Yes/No]: Enter Y (to overwrite description) or N (to cancel)

Reconcile

Sets the unreconciled property of an unreconciled layer.

Enter name list of layer(s) to turn reconcile or [?]: Enter a single layer name or a list and press ENTER

? - Name List of Layers

Displays a list of all unreconciled layers.