Anyone knows script (command) to make filter and then select any filter.
I have to run this operation on several files. So, needs it script.
Solved! Go to Solution.
what type of filter do you want to create?
If you want to select objects by properties then you should look to LISP and function SSGET (>>>details<<<)
If you mean any other filter like e.g. layerfilter ... let us know. A sample description what you want to filter out of what sum of ... would be helpful to support you.
- alfred -
I want to make filter on the basis of Layers name.
e.g.: I have so many layers having suffix *fix, like A_fix, B_fix etc. I need the script which can filter those layers.
After that script to select any filter too?
>> I need the script which can filter those layers.
Do you want to filter layers or to select objects on that layers (that's why I asked for a little description).
I assume now that you want to select object (and not layers), so try
(ssget "X" (list (cons 8 "*fix")))<ENTER>
...is that what you are looking for?
- alfred -
Ok I am explaining whole, what I need?
I have two types of layer groups, one having suffix *fix, and other having suffix *cat. I want to get diffrent pdfs for those, *fix & *cat layers.
I have thought following steps:
1. Turn off all layers,
2. Make separate layer filter for *fix & *cat layers.
3. Turn on *fix layer filter.
4. Run the script to get pdf.
Yesterday I asked you how to turn off all layers, now I am not getting the script to make filter for *fix, and *cat layers, and then turn on any filter. So, I want this one. Can I have the ans. for step 2 &3?
Hope you understand the problem.
>> Can you give me any file, from which I can study all about commands, scripts, lisp and macros?
>> I have thought following steps:
>> 1. Turn off all layers,
>> 2. Make separate layer filter for *fix & *cat layers.
>> 3. Turn on *fix layer filter.
>> 4. Run the script to get pdf.
You can't turn on a layerfilter, and if you already know layernames with wildchars you even don't need >>>layerfilters<<<
All off ... we had that yesterday, now for on for the layernames like "*fix":
HTH, - alfred -
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.