API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > importLayerState Method > OdDbLayerStateManager::importLayerState Method (OdStreamBuf*, OdString&)
OdDbLayerStateManager::importLayerState Method (OdStreamBuf*, OdString&)
Syntax
C++
OdResult importLayerState(OdStreamBuf* pStreamBuf, OdString& sName);
Parameters 
Description 
OdStreamBuf* pStreamBuf 
[in] Stream buffer to import a layer state from.  
OdString& sName 
[out] Name of the imported layer state.
 

eOk if operation succeeded; error code otherwise.

Imports a layer state. 

 

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