Trim VLA-OBJECTS outside a circle automatically, without selecting anything

Trim VLA-OBJECTS outside a circle automatically, without selecting anything

Anonymous
Not applicable
1,640 Views
7 Replies
Message 1 of 8

Trim VLA-OBJECTS outside a circle automatically, without selecting anything

Anonymous
Not applicable

Hi community, What I want to do is to trim some polylines that are saved on memory as VLA-OBJECTS, deleting everything of them outside of some circles, that are also saved as VLA-OBJECTS on memory, and I want to do it automatically (without selecting anything because they are already stored on memory even the center of each circle). On the images you can figure what I am saying out in a better way. Can you suggest me any lisp or autolisp or Vlisp routine for this task please?. I am providing a copy of lisp program on attached files if it is useful for you. Many thanks in advance.

 

trim before.pngtrim after.png

0 Likes
1,641 Views
7 Replies
Replies (7)
Message 2 of 8

devitg
Advisor
Advisor

Please upload a sample DWG , in 2007 or less version. 

0 Likes
Message 3 of 8

devitg
Advisor
Advisor

Some like it?

 

 

 

TRIM POLY AT CIRCLE.PNG

 

 

 

 

 

0 Likes
Message 4 of 8

Anonymous
Not applicable
Yes something like it devitg can you help me with the code please
0 Likes
Message 5 of 8

devitg
Advisor
Advisor

Yes, I can help you.

 

But first, and please, upload YOUR´s sample DWG , the same DWG from where you pick the screenshoot, you had post at your first question. 

0 Likes
Message 6 of 8

Anonymous
Not applicable

Hi sorry for being late at uploading my file. Here it is

0 Likes
Message 7 of 8

Anonymous
Not applicable

Sorry Here it is with the circles and blue lines.

0 Likes
Message 8 of 8

devitg
Advisor
Advisor

Hi J.Portela , please see the attached file.

0 Likes