2012

Table Of Contents
Save Layer Property Override Settings
When layers contain viewport property overrides, those settings are saved to
a layer state when the viewport that contains overrides is active.
If the layer state is saved from model space, any layer property override settings
are not included. This is because only one value can be saved for each layer
property in a layer state. If layer property overrides need to be saved in the
layer state, make the viewport active on the layout tab and then save the layer
state.
Restore Layer Settings
When you restore a layer state, the layer settings (layer states and layer
properties) that were specified when the layer state was saved are restored.
You can specify specific settings to restore with the Restore and Edit options
of the -LAYER command. The layer property settings that are not selected
remain unchanged in the drawing.
NOTE To be notified when new layers are added to the drawing, use the
LAYEREVAL and LAYERNOTIFY system variables.
When restoring layer states, the following additional behaviors can occur
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.
If a layout viewport is active when a layer state is restored, all layers that
need to be visible in the viewport are turned on and thawed in model
space. All layers that should not be visible in the viewport are set to VP
Freeze in the current viewport and the model space visibility is unchanged.
Layer States in Xrefs
Although xref layer states can be restored, they cannot be edited. Xref layer
states are identifiable because the layer state name is preceded by the xref
drawings name and separated by a double underscore symbol. (Example: Xref
Name__Layer State Name.) When the xref is bound to the host drawing, layer
states are identifiable by $0$ that displays between the xref name and layer
state name. (Example: Xref Name$0$Layer State Name.)
Layer states from nested xrefs are also included. Layer states from xrefs are
removed from the host drawing when the xref is detached or unloaded.
Control the Properties of Objects | 129