Jump to content

filter text and mtext


leonucadomi

Recommended Posts

hello dear:

 

I am using this line in a routine

 

(setq ss (ssget '((0 . "TEXT"))))

 

but i want to filter at once text and Mtext.

 

 

can anybody help me?

 

 

thanks

Link to comment
Share on other sites

1 hour ago, leonucadomi said:

hello dear:

 

I am using this line in a routine

 

(setq ss (ssget '((0 . "TEXT"))))

 

but i want to filter at once text and Mtext.

 

 

can anybody help me?

 

 

thanks

(setq ss (ssget '((0 . "*TEXT"))))

  • Like 1
Link to comment
Share on other sites

That will get a couple of extra text types as well can also do.

 

(setq ss (ssget '((0 . "TEXT,MTEXT"))))

For most dwgs the *TEXT should be ok.

Edited by BIGAL
Link to comment
Share on other sites

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