API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > OdDbLayerTableRecord::setIsOff Method
OdDbLayerTableRecord::setIsOff Method
Syntax
C++
void setIsOff(bool bStatus);
Parameters 
Description 
bool bStatus 
[in] True - to make the layer invisible (off), or False - to make the layer visible (on). 

Sets the On-Off status as a Boolean value (DXF 62). The initial value is False (Visible) by default. 

 

Example of Working with the Layer Record Object 

Status of Layers 

OdDbLayerTableRecord::isOff() method

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