Jump to content
minhphuong_humg

Erasing everything inside/outside a boundary

Recommended Posts

minhphuong_humg

Hi, everybody.

I have a drawing, I want erase all object inside or outside (2 case). Please, help me.

Thank you very much.

Share this post


Link to post
Share on other sites
Tharwat

That could be done by selecting that boundary object then select all objects within its boundary then make a global selection set , so after that iterate through each entity if it is not the same name with the entity that are inside the first selection , then delete the object .

Share this post


Link to post
Share on other sites
minhphuong_humg
That could be done by selecting that boundary object then select all objects within its boundary then make a global selection set , so after that iterate through each entity if it is not the same name with the entity that are inside the first selection , then delete the object .

 

Can you describe in more detail? Thank you very much!

Share this post


Link to post
Share on other sites
Tharwat
Can you describe in more detail? Thank you very much!

I think my description is clear if you are familiar in Lisp programming ;)

Share this post


Link to post
Share on other sites
minhphuong_humg
I think my description is clear if you are familiar in Lisp programming ;)

Ok, thank you Tharwat.

I have a drawing autocad and which I draw a line enclosed (rectangle, polygon, or any). I want to choose boundary and then remove all of what is in it.

Please see the attached figure:

untitled.jpg

Share this post


Link to post
Share on other sites
BIGAL

Also Cookiecutter.lsp and like Lee I would use (extrim)

Edited by BIGAL

Share this post


Link to post
Share on other sites
minhphuong_humg
Also Cookiecutter.lsp nad like Lee I would use (extrim)

 

I used extrim but don't success. Can you guide me? Thank you very much.

Share this post


Link to post
Share on other sites
KARDOLITO89

PLEASE  SHOW THE CODE OF SDOP2.LSP

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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