Jump to content

Recommended Posts

Posted

Hi,

 

is there any option where I can select all objects except some perticular type. like I want to select all objects in a drawing except circles.

 

actually I want to select all entities in a drawing except blocks... I cant select all blocks by using "SSGET" , but how I can select all entities expect block by using "ssget" ?

 

Subho

Kolkata

India

Posted

You can use the -4 code to build some logical expressions for SSGET function's filter.

 

Select everything in drawing, except line entities:

(ssget "_X" '((-4 . "<not")
              (0 . "LINE")
             (-4 . "not>")))

Select everithing in drawing, except line and arc entities:

(ssget "_X" '((-4 . "<not")
              (-4 . "<or")
               (0 . "LINE")
               (0 . "ARC")
              (-4 . "or>")
             (-4 . "not>")))

Posted

Thnx guys..thnx a lot. I got the point.

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