Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add\Remover layers from a layer filter

2 REPLIES 2
Reply
Message 1 of 3
ebarlevi
312 Views, 2 Replies

Add\Remover layers from a layer filter

How can I add\remover layers from a layer filter via VLISP?

Thanks

2 REPLIES 2
Message 2 of 3
Shneuph
in reply to: ebarlevi


@ebarlevi wrote:

How can I add\remover layers from a layer filter via VLISP?



I'm not sure if this is really something you would want to do.  The layers displayed in the layer filter are based on the filter definition.  My GUESS is that forcibly removing a layer from the layer properties filter (if possible) will not keep the layer from re-entering the filter results unless you change the filter definition.

 

Basically, any layer which meet the criteria of the layer properties filter definition should be displayed in the filter.  You may consider modifying the filter definition.

 

Perhaps you meant for your original question to be:  "How can I modify a Layer Properties Filter definition with VLISP?" ??

That seems to me to be a more sensible approach.  What do you think?

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
Message 3 of 3
ebarlevi
in reply to: Shneuph

You are right. The phrasing of the question is due to my poor English.

Meanwhile, I found a detour to the filter problem.

Apparently, if you issue the layer command, and although not  appearing in the layer prompt, you can answer "filter" and be able to manipulate (create, delete and edit) the layer filter. You can not (unfortunately) obtain the filters names.

Thanks,

Eitan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost