API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Methods > OdDbLayerStateManager::getLastRestoredLayerState Method
OdDbLayerStateManager::getLastRestoredLayerState Method
Syntax
C++
OdResult getLastRestoredLayerState(OdString& sName, OdDbObjectId & restoredLSId);
Parameters 
Description 
OdString& sName 
[out] Name of the layer state.  
OdDbObjectId & restoredLSId 
[out] ID of the LayerState object.
 

eOk if operation succeeded; error code otherwise.

Gets the name of the last restored layer state and the ID of the corresponding LayerState object. 

 

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