Jump to content

Layer filter --- NOT


Recommended Posts

Posted

We have a few hundred drawing files, many with multiple xref's. I would like to have a layer filter that show the local layers only. I know, I know, just pick "XREF" and check "invert selection". I would like to have a little more explicit filter so when a user opens a file one pick will send them on their way.

 

I figure to do this I would need to have a boolean "NOT" for the "xref vertical bar" but cannot seem to find any reference to it in ACAD help. Anyone have this solved?

 

:)

Posted

Use a leading tilde (~) to specify NOT.

FYI: This is in the HELP file under "Filtering layers"

Posted
We have a few hundred drawing files, many with multiple xref's. I would like to have a layer filter that show the local layers only. I know, I know, just pick "XREF" and check "invert selection". I would like to have a little more explicit filter so when a user opens a file one pick will send them on their way.

 

I figure to do this I would need to have a boolean "NOT" for the "xref vertical bar" but cannot seem to find any reference to it in ACAD help. Anyone have this solved?

 

:)

~*|* is what you need to filter out xrefs. There is a lisp file I have a work I can post if it isn't here in the morning.

Posted

That works great - exactly what I needed.

Thank you.

 

:)

Posted
That works great - exactly what I needed.

Thank you.

 

:)

 

Here is the lisp file I told you about, not sure who created it, just know it wasn't me.

XREFNOT.LSP

Posted

Haha, whoever made it certainly had a sense of humour:

 

"Doh! Something horrible happened"

Posted
Here is the lisp file I told you about,

 

Thanks -

 

:)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...