Jump to content

Is there any command or lisp to select objects inside the selection object?


Recommended Posts

Posted

I want to select multiple objects inside the selection.

Like the "EXTRIM" command, where after selecting the object it asks "Specify the side to trim on".

TIA

Screenshot_1.png

Posted

Try Crossing Polygon

 

(ssget "_CP" ....... ) 

 

(see http://lee-mac.com/ssget.html) - will that work?

 

Could also try Window Polygon for entities that are completely inside the selected object

 

 

  • Like 2
Posted

If you only want whats inside use "WP"

 

  • Like 1
Posted

Re extrim in the Extrim.lsp program its called via (Etrim look for it, I use a small offset then use that for the Etrim select. 

 

(etrim (entlast) (getvar 'extmax)) 

So this cuts the objects touching but does not remove the outside objects so the answer is change the inside objects to a dummy layer isolate the outside objects layer then delete them, unisolate and change the objects back to correct layer.

 

Sequence is pick pline, pick 2 outside points ie window all the objects, this is used later for the erase out side objects.

image.png.8452e2c5b1d4e701cd23cc8ee7292622.png

 

Waffles.lsp

 

  • Like 1

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