How to exclude XREF layers within an Existing Layer Property Filter

How to exclude XREF layers within an Existing Layer Property Filter

TCD-Flywater
Participant Participant
527 Views
3 Replies
Message 1 of 4

How to exclude XREF layers within an Existing Layer Property Filter

TCD-Flywater
Participant
Participant

I use a lot of layer filters to help sort through the hundreds of layers that we have in our drawing templates and am looking for a way to prevent xref layers from showing up in an existing layer property filter. For example, in my drawing I have a layer property filter for Annotation that uses the name "*ANNO*" to include all the layers that are for annotation. However, I would like to filter OUT any layers contained in my XREFs that also include the text "*ANNO*" in the layer name. I have tried adding "~*|*" to the layer filter properties but that does not work. 

 

Has anyone found a good solution for this?

 

Thanks, 

0 Likes
Accepted solutions (1)
528 Views
3 Replies
Replies (3)
Message 2 of 4

user181
Mentor
Mentor
Accepted solution

You would do it as one line like example below

 

~(*|*ANNO*,~*ANNO*)

 

EESignature


Message 3 of 4

cwr-pae
Mentor
Mentor

Create your ANNO filter, under it create a new, secondary filter to filter out all xref layers (~*|*). I have never been able to get a filter to use both include and exclude arguments in a single filter.

0 Likes
Message 4 of 4

TCD-Flywater
Participant
Participant

Heck yeah! This works like a charm. Nice solution!