API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > OdDbLayerTableRecord::isInUse Method
OdDbLayerTableRecord::isInUse Method
Syntax
C++
bool isInUse() const;

Determines whether the layer record object is in-use when the generateUsageData() method is called and returns True if the layer is in-use, or False if the layer is not use.

Returns true when the generateUsageData() of the layer table object has not been called or this layer record object is not database resident.

Example of Working with the Layer Record Object 

Status of Layers 

OdDbLayerTable::generateUsageData() method

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