Layer states allow you to save particular sets of layer properties and settings so you can easily restore them when needed. You might create a layer state that has certain layers locked so you don’t inadvertently change them when editing the drawing, or a state that has certain layers set to nonplotting. You could also save your current settings before changing layer properties such as color, linetype, and plot style in case you need to change them back. To create a layer state, first configure the layer states and properties of your drawing as desired. From the Format menu select the Layer States Manager to display the Layer States Manager dialog box.

Caption: Layer States Manager.
Click the New button and name your layer state by typing a name in the New Layer State Name text box.

Caption: Name your new layer.
In the Layer States Manager, select the layer properties and states that you want to include in the Layer Properties to Restore section. You may need to click on the More Options button at bottom right to see this section.

Caption: Select layer properties to restore in the section at right.
Any states and properties you don’t select will not be affected when you restore the layer state. If you want the drawing to look exactly as it did when you saved the layer state, check the Turn Off Layers Not Found in Layer State check box. This will turn off any new layers you add after saving the layer state. Select Close to exit the Layer States Manager. To restore a layer state you’ve created, open the Layer States Manager, select the layer state, and click on Restore.
You can edit existing layer states by selecting the Edit button in the Layer States Manager. A dialog box appears listing all the layers in the drawing. You can change properties and states here, though it’s probably easier just to do so in the drawing, then create a new layer state.

Caption: Editing a layer state.
You can export saved layer states as an LAS file that can then be imported into other drawings. Starting in AutoCAD 2008, you can directly import layer states from DWG, DWT, and DWS files. You will be prompted to select which layer states to import.

Caption: Layer state import options (AutoCAD 2008 and up). |