API Reference > OdDb Classes > OdDbLayerState Class > OdDbLayerState Methods > OdDbLayerState::removeLayerStateLayers Method
OdDbLayerState::removeLayerStateLayers Method
Syntax
C++
static OdResult removeLayerStateLayers(OdDbDatabase* pDb, const OdString sName, const OdStringArray& layerNames);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database.  
const OdStringArray& layerNames 
[in] Array of names of layers to be removed from the layer state.
 
layerStateName 
[in] LayerState name.  

eOk if operation succeeded; error code otherwise.

Removes layers from a layer state. 

 

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