API Reference > OdDb Classes > OdDbLayerState Class > OdDbLayerState Methods > OdDbLayerState::rename Method
OdDbLayerState::rename Method
Syntax
C++
static void rename(OdDbDatabase * pDb, const OdString & oldName, const OdString & newName);
Parameters 
Description 
OdDbDatabase * pDb 
[in] Pointer to the database.  
const OdString & oldName 
[in] Old name.  
const OdString & newName 
[in] New name. 

Renames the specified LayerState in the specified database. 

 

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