AutoCAD 2007/2008/2009

AutoCAD 2007/2008/2009

Reply
Contributor
amrt
Posts: 17
Registered: ‎11-29-2008
Message 1 of 4 (965 Views)

Break the line at multiple intersections

965 Views, 3 Replies
12-22-2008 04:42 AM
How?
1. Select the line for break.
2.Then select the intersection lines by crossing window.
3.Break the first line into pieces from where the other lines intersect.
Is it possible? Give any lisp for this.
I will be very very thankful for this.
*Vladimir Michl
Message 2 of 4 (965 Views)

Re: Break the line at multiple intersections

12-22-2008 07:23 AM in reply to: amrt
You can use e.g. BreakAll or QBrick for this - see:
http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5632

Vladimir Michl, http://www.xanadu.cz

> píše v diskusním příspěvku
>news:6094101@discussion.autodesk.com...
>How? 1. Select the line for break. 2.Then select the intersection lines by
>crossing window. 3.Break the first line into pieces from where the other
>lines intersect. Is it possible? Give
>any lisp for this. I will be very very thankful for this.
Distinguished Contributor
cab2k
Posts: 463
Registered: ‎12-15-2003
Message 3 of 4 (965 Views)

Re: Break the line at multiple intersections

12-30-2008 06:26 PM in reply to: amrt
Vladimir,
That is an older version of the routine.
You may find the current version 2.0 here:
http://www.theswamp.org/index.php?topic=10370.0
also a newer beta version 2.1 here
http://www.theswamp.org/index.php?topic=10370.msg313154#msg313154

Note that you must be a member to access the link. Membership is free.

Thanks
Charles Alan Butler

[code];;;=======================[ BreakObjects.lsp ]==============================
;;; Author: Copyright© 2006-2008 Charles Alan Butler
;;; Contact @ www.TheSwamp.org
;;; Version: 2.1 Nov. 20,2008
;;; Purpose: Break All selected objects
;;; permitted objects are lines, lwplines, plines, splines,
;;; ellipse, circles & arcs
;;;
;;; Function c:MyBreak - DCL for selecting the routines
;;; Function c:BreakAll - Break all objects selected with each other
;;; Function c:BreakwObject - Break many objects with a single object
;;; Function c:BreakObject - Break a single object with other objects
;;; Function c:BreakWith - Break selected objects with other selected objects
;;; Function c:BreakTouching - Break objects touching selected objects
;;; Function c:BreakSelected - Break selected objects with any objects that touch it
;;; Revision 1.8 Added Option for Break Gap greater than zero
;;; NEW r1.9 c:BreakWlayer - Break objects with objects on a layer
;;; NEW r1.9 c:BreakWithTouching - Break touching objects with selected objects
;;; Revision 2.0 Fixed a bug when point to break is at the end of object
;;; Revision 2.1 Fixed another bug when point to break is at the end of object
;;;
;;;
;;; Function break_with - main break function called by all others and
;;; returns a list of new enames, see c:BreakAll
;;; for an example of using the return list
;;;
;;; Requirements: objects must have the same z-value
;;; Restrictions: Does not Break objects on locked layers
;;; Returns: none[/code]
*Vladimir Michl
Message 4 of 4 (965 Views)

Re: Break the line at multiple intersections

01-05-2009 06:02 AM in reply to: amrt
Thanks for the information Charles. The link was updated.
This is really a very useful LISP utility.

Vladimir Michl, http://www.xanadu.cz

> "CAB2k" píše v diskusním příspěvku news:6097049@discussion.autodesk.com...
> Vladimir, That is an older version of the routine. You may find the
> current version 2.0 here: http://www.theswamp.org/index.php?topic=10370.0
> also a newer beta version 2.1 here >
> http://www.theswamp.org/index.php?topic=10370.msg313154#msg313154 Note
> that you must be a member to access the link. Membership is free. Thanks
> Charles Alan Butler
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!