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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×