API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::addLayerStateLayers Method
OdDbLayerStateManager::addLayerStateLayers Method
Syntax
C++
OdResult addLayerStateLayers(const OdString& sName, const OdDbObjectIdArray& layerIds);
Parameters 
Description 
const OdString& sName 
[in] Name of the layer state to add layers to.  
const OdDbObjectIdArray& layerIds 
[in] Array of ID's of layers to be added.
 

eOk if operation succeeded; error code otherwise.

Adds layers to the layer state. 

 

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