Saves and restores layer settings.
Supported Platforms: AutoCAD for Windows only; not supported in AutoCAD LT for Windows
Class Information
- Class Name
-
AcadLayerStateManager
- Object Inheritance
-
Object AcadLayerStateManager
- Create Using
-
VBA
Not applicable
- Access Via
-
VBA
GetInterfaceObject("AutoCAD.AcadLayerStateManager.25")
Note: This object cannot be accessed in AutoCAD LT for Windows.
Members
These members are part of this object:
Remarks
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.