Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Multibreaketpoin command

AntonioDem
Explorer

Multibreaketpoin command

AntonioDem
Explorer
Explorer

I thought about creating an extension to the AutoCAD BREAKPOINT command. What do you think?

 

https://github.com/AntonioDEM/multibreakatpoint 

0 Likes
Reply
264 Views
6 Replies
Replies (6)

john.uhden
Mentor
Mentor

@AntonioDem ,

That looks like a lot of code to do what you can  do manually.

Last year I created a MultiBreak command that breaks all objects along a fence path derived from a polyline (even with arced segments).

Might that sound tending toward what you would like to do?

John F. Uhden

ronjonp
Advisor
Advisor

AntonioDem
Explorer
Explorer

hi. i don't write english well. the idea is to split polylines and lines at certain points. i did some work on a town plan and i needed to cut a lot of lines and i found the breakeatpoint command frustrating. so i invented this. you can send me yours if you want. i'm not an expert in lisp

0 Likes

ВeekeeCZ
Consultant
Consultant

The best thing to do is to use a utility that you write yourself.

 

However, as @ronjonp mentioned, there is a very comprehensive routine called BreakAll that contains many options for solving the problem. I think it is worth exploring and may help you too.

 

The link is to the original source, which is the only updated one, but requires free registration. It is worth it.

 

https://www.theswamp.org/index.php?topic=10370.0 

 

Here's the perex:

 

c:BreakAll -      Break all objects selected
c:BreakwObjects - Break many objects with a single object
c:BreakObject -   Break a single object with many objects
c:BreakWith -     Break selected objects with other selected objects
c:BreakTouching - Break objects touching the single Break object
c:BreakSelected - Break selected objects with any  objects that touch it
c:MyBreak - Dialog with buttons to run three of the routines
c:BreakRemove - Break selected object with any objects that touch it & remove
                        every other new segment, start with selected object

CADaSchtroumpf
Advisor
Advisor

For light polylines (LWPOLYLINE), I can offer you this.
This cuts the entire selection of polylines at their intersections, whether they have arcs or not.
For those who have MAP3D or CIVIL3D, this routine also keeps the object data (OD) for each section set up if it has any, which is not the case for the BREAK command natively.

AntonioDem
Explorer
Explorer

thank you

Have this post with all your interesting suggestions. The objective is to stop and create a simple and effective command. I am not an expert in lisp and so I will save very complex things and create very sophisticated things.

0 Likes