API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::importLayerStateFromDb Method
OdDbLayerStateManager::importLayerStateFromDb Method
Syntax
C++
OdResult importLayerStateFromDb(const OdString& pStateName, OdDbDatabase* pDb);
Parameters 
Description 
const OdString& pStateName 
[in] Name of the layer state to be imported.  
OdDbDatabase* pDb 
[in] Database to import the layer state from.
 

eOk if operation succeeded; error code otherwise.

Imports a layer state from a specified database. 

 

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