To Restore a Layer State

You can restore a saved layer state in a drawing. When you restore a layer state, you can specify which of the saved settings you want to restore. The layer settings you have not selected remain unchanged in the drawing. For example, if you select only the Color property to be restored from the layer state, then the linetype, lineweight, and plot style of the drawing remain unchanged, even if they are different in the layer state than in the drawing. If the drawing contains layers that were added since the layer state was saved, those layers are not deleted when restoring the layer state. You can, however, select to turn them off when restoring a layer state that does not have these layers.

When restoring a layer state, the layer that was current when the layer state was saved is made current. If that layer no longer exists, the current layer does not change.

Attention: When you save a layer state in the current drawing and then delete any layers in the drawing that are in the layer state, these layers are deleted from the layer state without notification. To retain layers in a layer state that are deleted in the drawing, you must export the layer state before deleting the layers in the drawing. Later, you can re-import the exported LAS file and restore the deleted layers.

Restore Options for Different Viewports

In most cases it is recommended to restore layer states that have been saved from a layout viewport to a layout viewport and layer states that have been saved from the model space to the model space of the drawing. If you want to restore layer states between different workspaces, note the following behaviors:

When a layer state is saved from the model space, the global layer properties for color, linetype, lineweight, and plot style are saved to the state. When the layer state is later restored to the model space, the global layer properties will be restored as the global layer properties of the drawing. If the layer state is restored to a layout viewport, you can choose if the settings from the saved layer state are restored either as the global layer properties for the drawing, or as viewport overrides for that specific viewport.

Note: Layers that were turned off or frozen in model space are set to VP Freeze in the Layer Properties Manager if they are restored to a layout viewport.

When a layer state is saved from a layout viewport, and the viewport has overrides for color, linetype, lineweight, or plot style, the override settings are saved as the viewport properties. When the layer state is later restored to the model space of a drawing, the saved layer settings will be restored as global layer properties to the model space. If the layer state is later restored to a layout viewport, you can choose if the settings from the saved layer state are restored either as the global layer properties for the drawing, or as viewport overrides for that specific viewport.

  1. Verify that the viewport in which you want to restore a saved layer state is active.
  2. If necessary, open the Layer Properties Manager by clicking Home tabLayers panelLayer Properties.
  3. Click to open the Layer States Manager.
  4. Select the saved layer state to restore.

    If the setting for Same as DWG is set to Yes, the layer configuration in the drawing is already identical to the one saved in the layer state, or the drawing contains new layers not in the layer state, but these layers are turned off in the drawing. In this case, the layer state will also be reported to be Same as DWG.

  5. Expand the Layer States Manager by clicking .
  6. To define which layer settings should be restored, select the appropriate properties under Layer properties to restore.

    You cannot change the settings for On/Off and Freeze/Thaw if you are restoring a layer state to a layout viewport. When a layer state is restored to a layout viewport, the layers in it will be On and Thawed.

    You cannot change the setting for Visibility in Current VP if you are restoring a layer state to the model space. In model space, you can only control the global visibility of the layer.

  7. Click Save.
  8. If new layers have been added to the drawing since the layer state was saved, and you have not added these layers to the layer state, you can turn them off in the drawing when restoring the layer state. To do so, click Turn off layers not found in layer state.
  9. If you want to restore the saved layer state to a layout viewport, determine if the saved layer properties for color, linetype, lineweight, and plot style should be restored to the viewport as global layer properties or as viewport overrides:

    Select Apply properties as viewport overrides if you want to restore the saved layer state properties as viewport overrides.

    Clear Apply properties as viewport overrides if you want to restore the saved layer state properties as global layer properties.

    Note: If you restore a saved layer state to the model space, the saved properties are always restored as global layer properties.
  10. Click Restore.