API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::layerStatesDictionaryId Method
OdDbLayerStateManager::layerStatesDictionaryId Method
Syntax
C++
OdDbObjectId layerStatesDictionaryId(bool bCreateIfNotPresent = false);
Parameters 
Description 
bool bCreateIfNotPresent = false 
[in] Create a layer state dictionary if it's not present in the current database.
 

The layer state dictionary ID if it's present in the current database or the bCreateIfNotPresent parameter is set tu true; kNull otherwise.

Gets the layer state dictionary ID if present in the current database. The layer state dictionary can be created if it's not present and the bCreateIfNotPresent parameter is set to true. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.