Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

accessing layer filters without the layer dialog.

Status
Not open for further replies.

vbcad

Technical User
Jul 12, 2002
159
US
I would like to create a lisp that selects the xref layer filter and inverts the filter. It becomes a bit of a hassle having to open layer manager everytime i want to do this. I would like to put this function on a button. Is this possible through lisp?
 
Not sure what the term "invert the filter" means. Can you do this with the "-layer" command using wildcards?

From another thread:
--------------------------------------------

In my opinion all you need to do is learn how to use wildcards:

To turn on all layers that are not xrefs (command line):

-layer[enter]
on[enter]
~*|*[enter][enter]


 
What i am trying to do does not change the display on the screen only what is in the layer pulldown on the toolbar. If you look at the layer properties manager dialog, there are different options.The layer filters are on the left side of the dialog. if you select the xref filter only the xref layers display in the dialog. if you select invert filter all layers display in the dialog box except the xref layers. the third option is "apply to layers toolbar". This then displays only the layers in the selected layer filter in the layer toolbar pulldown. these options are not available from the "-layer" command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top