[Search tip detail and code files using keywords, tip number, author name, etc ]
Layer Filters
Tip# 3154 By Michal Koc On 01-Mar-2009
Rated By 1 users
Categories : Layer Manager
Software type : AutoCAD
Rename File To : No Files to download.
The easiest way to hide all xref layers in Layer List is to make a layer filter.

Michal Koc sent us a tip on setting up and using Layer Filters.  He said that in his company they work on AutoCAD 2006.  Usually they use a lot of xrefs in every drawing, so it's very annoying in Layer Manager/Layer List to see thousand of xref layers.  The easiest way to hide all xref layers in Layer List is to make a Layer Filter, e.g.,


This shows all layers without the | sign, which is used in every xref layer.  To do this, just open Layer Properties Manager, then use ALT+P (or the icon in upper left corner of the window) to create New Property Filter.  In the Layer Filter Properties window in the Filter Name box, just type the filter name "NoXREF" and  ~*|*in Name column of Filter definition box.

(To create the "|" symbol just press and hold the ALT key and then press 1,2,4 from the numeric keypad)

To use the NoXREF filter, just one click on NoXREF from left column of Layer Properties Manager window.

NOTES FROM CADALYST TIP PATROL:  Layer filters are very valuable, so this is a good tip.  Create a new filter as described above, give it a name, and then in the Filter Definition area, describe what you are filtering in the name field.  The Tilde (~) tells the filter to remove the following items from the list.  If there is no tilde, then only layers with the definition will be shown.  The asterisk (*) is a wild card.  The | key can be inserted by shift + .  (The | key should be there on a standard QWERTY U.S. English Keyboard.)
Tested in AutoCAD 2009


Average Rating:

User comments
Comment by Werning,Aaron
Posted on 2009-03-02 17:22:04
There is an even easier built-in function for filtering out xref layers. Simply select the root of the "Xref" layers tree (in the left pane of the Layers Properties Manager) to cause the right pane to show only the xref layers and then select the "Invert Filter" check box is the lower left corner of the Layers Properties Manager dialog box.
Comment by Duzan,Tim
Posted on 2009-03-03 08:18:32
Aaron, agreed, this might be easy to get to, but it's still an extra step. My company puts the ~*|* filter in there because it's much easier to select the filter than it is to select the xrefs and then select "Invert Filter".