Share

AcDbLayerTableRecord::setIsOff

C++

void setIsOff(
    bool off
);

Description

If off == true, then this function sets the layer to be off. If off == false, then the layer will be turned on.

The off value is represented as the positive or negative status of the color index in DXF group code 62 (if off == true, then the layer is off and the color is negative).

Parameters

Parameters Description
off Input Boolean indicating whether the layer is locked

Links

AcDbLayerTableRecord

Was this information helpful?