API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::renameLayerState Method
OdDbLayerStateManager::renameLayerState Method
Syntax
C++
OdResult renameLayerState(const OdString& sName, const OdString& sNewName);
Parameters 
Description 
const OdString& sName 
[in] Name of the layer state to renamed.  
const OdString& sNewName 
[in] New name to be assigned to the layer state.
 

eOk if operation succeeded; error code otherwise.

Renames a layer state. 

 

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