What does LAYOFF do?
LAYOFF turns off the layer of a selected drawing object, making all objects on that layer temporarily invisible. It provides a quick way to hide unnecessary geometry without opening the Layer Properties Manager and manually searching for the required layer. The command is especially useful in complex drawings where individual layers need to be hidden while you work on other geometry.
How to use the command
- Type
LAYOFF, then press Enter. - Select an object located on the layer that you want to turn off.
- GstarCAD turns off that object’s layer and hides the objects located on it.
- Continue selecting objects on additional layers if more layers need to be hidden.
- Press Enter when you have finished.
- Use
LAYONwhen you want to turn the hidden layers back on.
Command: LAYOFF ↵
Select an object on the layer to be turned off: select object
Select an object on the layer to be turned off: select another object
Select an object on the layer to be turned off: Enter
Key LAYOFF behaviour
LAYOFF works directly from drawing objects, making layer visibility control faster than locating individual layer names manually.
Practical example: hide furniture while editing walls
Suppose an architectural floor plan contains wall, furniture, electrical and annotation layers, but you only need to edit the walls. Start LAYOFF and select a chair on the furniture layer, then select an electrical symbol on the electrical layer. GstarCAD turns off both layers, leaving the wall geometry easier to see and modify. After completing the wall edits, run LAYON to make the hidden layers visible again.
Tip
Use LAYOFF when you only need to hide selected layers temporarily. Use LAYISO when you want to keep selected layers visible while hiding or locking all the others.
LAYOFF vs LAYFRZ
An off layer is hidden, while a frozen layer is also excluded from regeneration. For larger drawings, LAYFRZ can therefore be useful when layers should remain completely inactive for a period of time.