API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > OdDbLayerTableRecord::setIsLocked Method
OdDbLayerTableRecord::setIsLocked Method
Syntax
C++
void setIsLocked(bool bStatus);
Parameters 
Description 
bool bStatus 
[in] True - to lock the layer, or False - to unlock the layer. 

Sets the Lock status as a Boolean value (DXF 70, bit 0x04). The initial value is False (Editable) by default. 

 

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