2013

Table Of Contents
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.
Import and Export Layer States
You can import layer settings from other drawings (DWG and DWT) and
export layer states (LAS).
If the layer state is imported from a drawing and it contains a layer property,
such as a linetype or plot style that is not loaded or available in the current
drawing, that property is automatically imported from the source drawing.
If the layer state is imported from an LAS file, and it contains linetype or plot
style properties that do not exist in the drawing, a message is displayed
notifying that the property could not be restored.
NOTE When a layer state contains more than one property that cannot be restored
from an LAS file, the message that displays only indicates the first property it
encountered that cannot be restored.
Control the Properties of Objects | 133