Jump to content

Recommended Posts

Posted

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!!

Posted

Hi,

 

This should do it.

 

(setq test (ssget "X" '((0 . "WIPEOUT"))))

 

Have a good one.

Shawndoe

Posted

And maybe use of (sssetfirst nil test) to highlight :)

 

PS> don't forget language compatibility:

 

(sssetfirst nil (ssget "[color=Red]_[/color]X" '((0 . "WIPEOUT"))))

Posted

Thank You Both.... I Will Try Them Out!

Posted

wait... are those lisps? it didn't work!!

Posted

hahahaha Ok I got it.... i have to type all that. Thank you... it worked great!! you both rock!!

Posted
wait... are those lisps? it didn't work!!

 

Yes, they are LISP statements, and perhaps need to be included in a function definition.

Posted

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

Posted

No worries Shawn, I realise I was being a little petty - I just like things perfect :wink:

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...