CadTechJGC184 Posted July 31, 2009 Posted July 31, 2009 How can i find all wipe outs and text masks in a dwg at once with out turning the wipe out frames on? Thanks for the help!! Quote
Shawndoe Posted July 31, 2009 Posted July 31, 2009 Hi, This should do it. (setq test (ssget "X" '((0 . "WIPEOUT")))) Have a good one. Shawndoe Quote
Lee Mac Posted July 31, 2009 Posted July 31, 2009 And maybe use of (sssetfirst nil test) to highlight PS> don't forget language compatibility: (sssetfirst nil (ssget "[color=Red]_[/color]X" '((0 . "WIPEOUT")))) Quote
CadTechJGC184 Posted July 31, 2009 Author Posted July 31, 2009 Thank You Both.... I Will Try Them Out! Quote
CadTechJGC184 Posted July 31, 2009 Author Posted July 31, 2009 wait... are those lisps? it didn't work!! Quote
CadTechJGC184 Posted July 31, 2009 Author Posted July 31, 2009 hahahaha Ok I got it.... i have to type all that. Thank you... it worked great!! you both rock!! Quote
Lee Mac Posted July 31, 2009 Posted July 31, 2009 wait... are those lisps? it didn't work!! Yes, they are LISP statements, and perhaps need to be included in a function definition. Quote
Shawndoe Posted August 3, 2009 Posted August 3, 2009 Actually I don't use functions for custom selection sets. I use the code just as I posted it. Then when I am asked for a selection set by a command I just hand it "!test". This is also a good way to make selection sets of objects that you can recall as needed. Just remember that these are global variables and will stay in your drawing until you restart it or set the variable back to nil. As for language compatability, I might worry about that if: (a) I had anybody who I write code for request it (b) If I were providing more then a snippet of code. © I also don't do language compatablity when providing LISP arguments. These are not displayed at the command line anyway so nobody will see them. Have a good one. Shawndoe Quote
Lee Mac Posted August 4, 2009 Posted August 4, 2009 No worries Shawn, I realise I was being a little petty - I just like things perfect :wink: Quote
Recommended Posts
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.