Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerStateManager::getLayerStateLayers Method
Syntax
C++
OdResult getLayerStateLayers(OdStringArray& layerArray, const OdString& sName, bool bInvert = false);

Retrieves a list of names of layers associated with a specified layer state. 

 

Parameters
Description
layerArray
[out] Array of names of layers.
sName
[in] Name of layer state to get the list of layer names for.
bInvert
[in] If true the method will return the inverted list, i.e. the list of layer names in the current database, that are not associated with a specified layer state.

eOk if operation succeeded; error code otherwise.

If bInvert is true, the resulting list of layer names is not cleared, just appended.

Copyright © 2002-2022. Open Design Alliance All rights reserved.