API Reference > OdDb Classes > OdDbLayerState Class
OdDbLayerState Class
OdDbLayerState
Syntax
C++
class OdDbLayerState;

DbLayerState.h

This class implements an interface for manipulating LayerStates in multiple OdDbDatabase instances. 

Corresponding C++ library: TD_Db

 
Name 
Description 
 
This enumeration specifies the results of the import operations for layer states. 
 
Name 
Description 
 
Adds more layers to a layer state.
 
 
Returns the description of the specified LayerState in the specified database.
 
 
Returns the Object ID of the LayerStates dictionary for the specified database.
 
 
Exports the LayerState from the specified database to the specified file.
 
 
has 
Returns true if and only if the specified database has a LayerState with the specified name.
 
 
Returns true if and only if there is viewport data associated with specified LayerState in the specified database.
 
 
Imports the LayerState from the specified file to the specified database.
 
 
mask 
Returns the LayerState mask for the specified LayerState in the specified database.
 
 
Removes the specified LayerState from the specified database.
 
 
Removes layers from a layer state.
 
 
Renames the specified LayerState in the specified database.
 
 
Restores the specified LayerState of the specified database.
 
 
save 
Saves the current LayerState of the specified database.
 
 
Creates a layer state where specified layers are assigned one state (e.g. ON), and all the others are assigned other state (e.g. OFF).
 
 
Sets the description of the specified LayerState in the specified database.
 
 
Sets the LayerState mask for the specified LayerState in the specified database.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.