API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::getLayerStateNames Method
OdDbLayerStateManager::getLayerStateNames Method
Syntax
C++
OdResult getLayerStateNames(OdStringArray& lsArray, bool bIncludeHidden = true, bool bIncludeXref = true);
Parameters 
Description 
OdStringArray& lsArray 
[out] Array of names of layer states.  
bool bIncludeHidden = true 
[in] If true (default) hidden layer states are included in the resulting list.  
bool bIncludeXref = true 
[in] If true (default) cross-reference layer states are included in the resulting list.
 

eOk if operation succeeded; error code otherwise.

Retrieves a list of names of layer states contained in the current database. 

 

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