Saving and Restoring Layer States

Use the LayerState command to save, restore, and manage configurations of layer properties and states. Layer states are snapshots of current Layer settings.

You can also edit the Layer properties within Layer states.

Layer states are saved with the drawing.

You can export Layer states to files of type *.las. You can import Layer states from *.las files and from drawing files.

To save Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. In the dialog box, click Add .

    A new table item is created in the list of Layer states with a preset Name and the Space information indicating whether the Layer state was created in the Model or on a Sheet.

  4. Optionally, edit the Layer state Name.
  5. Optionally, type a Description.
  6. Under Layer properties to restore, select or clear the Layer properties to save with the Layer state: On/Off, Freeze/Thaw, Lock/Unlock, LineColor, LineStyle, LineWeight, PrintStyle, Transparency, Print/No print, Freeze/Thaw in new Viewport, and Visibility in active Viewport. The Visibility in active Viewport is available only if you save the Layer state in a Sheet Viewport, not in the Model.
  7. Under Options, set:
  8. Click Save .
  9. Click Close.

To restore Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. In the dialog box, select a Layer state.
  4. Click Activate .
  5. Click Close.

  Note: Layers that you added since the Layer state was last saved remain uneffected when you restore the Layer state.

To edit Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. In the dialog box, select a Layer state.
  4. Click Edit .

    The Edit Layer States dialog box appears.

  5. To add Layers that you added since the Layer state was last saved:
    1. Click Show deleted layers  to show the list of Layers that are not part of the Layer state.
    2. Select Layers.
    3. Click Add .
  6. To delete Layers from the Layer state:
    1. Select Layer entries in the Layers table.
    2. Click Delete .
  7. To make a different Layer the active one in the Layer state:
    1. Select Layer entries in the Layers table.
    2. Click Activate.
  8. To change properties of Layers in the Layer state:
  9. Click OK.
  10. Click Close.

  Note: Changes in the Edit Layer States dialog box do not affect Layer settings until you restore the modified Layer state.

To delete Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. In the dialog box, select a Layer state.
  4. Click Delete .
  5. Click Close.

  Note: Layers remain in the drawing when you delete Layer states.

To import Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. Click Import.
  4. In the dialog box, select a file name from which you want to import a Layer State.

    You can import Layer states from:

  5. In the Import Layer States dialog box, select the Layer states to import.
  6. Click OK.
  7. Click Close.

To export Layer states:

  1. Click Format > Layer States (or type LayerState).
  2. Type LayerState at the command prompt.
  3. Click Import.
  4. In the dialog box, select a Layer state.
  5. Click Export.
  6. In the dialog box, specify the folder and name of the Layer states file (*.las) to write.
  7. Click OK.
  8. Click Close.

Access

Command: LayerState

Menu: Format > Layer States

Related Topics

Managing Layers

Organizing the Drawing with Layers

Layer Tools