A recently published CAD Tip, No. 3755, allows you to select layers to freeze and if you choose the current layer, it switches the current layer to layer 0, allowing you to continue. Kent Cooper has added more functionality to this idea by allowing you to pick layer 0 to freeze it, in which case another layer will be set to current. This routine also include a function to automatically select the layer of nested entities. Lastly, there are a set of functions that perform the same operations, except they will turn off the selected layer instead of freezing it. Load the LISP file and the following functions will be available:
- LOP — Turns off selected top-level layer
- LOPN — Turns off selected nested layer
- LFP — Freezes selected top-level layer
- LFPN — Freezes selected nested layer.