Saves and restores layer settings.
Supported Platforms: Windows only
AcadLayerStateManager
Object AcadLayerStateManager
VBA
Not applicable
VBA
GetInterfaceObject("AutoCAD.AcadLayerStateManager.24")
These members are part of this object:
The LayerStateManager object provides a set of functions for working with saved layer settings. The LayerStateManager manipulates XRecord objects that define the properties of a layer. These XRecords are stored in the ACAD_LAYERSTATE dictionary, which is an extension dictionary in the drawing's Layers collection. (An extension dictionary is a mechanism for attaching data to objects. Every object can have an extension dictionary.)
After you retrieve the LayerStateManager object, you must associate a database with it before you can access the object's methods. Use the SetDatabase method to associate a database with the LayerStateManager object.