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