API Reference > OdDb Classes > OdDbLayerStateManagerReactor Class > OdDbLayerStateManagerReactor Methods > OdDbLayerStateManagerReactor::layerStateCreated Method
OdDbLayerStateManagerReactor::layerStateCreated Method
Syntax
C++
virtual void layerStateCreated(const OdString& layerStateName, const OdDbObjectId& layerStateId);
Parameters 
Description 
const OdString& layerStateName 
[in] Name of the layer state.  
const OdDbObjectId& layerStateId 
[in] ID of the corresponding OdDbLayerState object. 

This function is triggered every time a layer state is saved to the database. 

 

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