API Reference > OdDb Classes > OdDbLayerState Class > OdDbLayerState Methods > OdDbLayerState::has Method
OdDbLayerState::has Method
Syntax
C++
static bool has(OdDbDatabase * pDb, const OdString & layerStateName);
Parameters 
Description 
OdDbDatabase * pDb 
[in] Pointer to the database.  
const OdString & layerStateName 
[in] LayerState name.
 

True if the specified database has a LayerState with the specified name; false otherwise.

Returns true if and only if the specified database has a LayerState with the specified name. 

 

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