API Reference > OdDb Classes > OdDbLayerState Class > OdDbLayerState Methods > OdDbLayerState::addLayerStateLayers Method
OdDbLayerState::addLayerStateLayers Method
Syntax
C++
static OdResult addLayerStateLayers(const OdString & sName, OdDbObjectIdArray layerIds);
Parameters 
Description 
OdDbObjectIdArray layerIds 
[in] Array of object Ids of layers to be added to the layer state
 
pDb 
[in] Pointer to the database.  
layerStateName 
[in] LayerState name.  

eOk if operation succeeded; error code otherwise.

Adds more layers to a layer state. 

 

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