About Saving and Restoring Layer Settings (VBA/ActiveX)

You can save layer settings in a drawing and restore them later.

Saving layer settings makes it easy to return to specified settings for all layers during different stages when completing a drawing or when plotting a drawing.

Layer settings include whether or not a layer is turned on, frozen, locked, plotted, and automatically frozen in new viewports, and the layer's color, linetype, lineweight, and plot style. You can specify which settings you want to save, and you can save different groups of settings for a drawing.

A special object, the LayerStateManager, provides functions for working with layer settings using ActiveX.