Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 9721:
Question
A
If you want quickly switch off all layers except of specified layers - e.g. all but layers staring with "E-", or all except xrefs - you can use an inverse filter (swung dash, tilde, "~").
You can use your inverse filter for layer filtering in the Layer Manager or directly in the LAYER command.
So you can e.g. add the following command to your menu:
(command "_layer" "_OFF" "~E-*" "")
(switches off all layers but those starting with "E-"; mind the "0" layer)
Or enter this to the layer filter:
~*|*
(selects all layers but xrefs)
ACADACLT


4.3.2014
12405×
applies to: AutoCAD · AutoCAD LT ·