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

Determines whether the layer record object is accessible for selecting and editing (DXF 70, bit 0x04) and returns True if the layer is locked or False if the layer is editable.

Example of Working with the Layer Record Object 

Status of Layers 

OdDbLayerTableRecord::setIsLocked() method

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