Jump to content

Use a polyline to automatically split other polylines


Recommended Posts

Posted

I have a bunch of intersecting polylines. I would like to extend one polyline in one direction, and then have that polyline divide other polylines into separate parts. Can this be done? Is there an lsp file or plugin that I need?

 

Thanks-

Guest Alan Cullen
Posted

CAB is doing well today. That's two that have been accredited to him. :D

Posted

thanks for the file. New to using most lsp's. I saved the filed as breakobjects.lsp and loaded it into CAD. What commands can I use? Does part of the text not need to be copied over? Thanks-

Posted

Nrschmid There are several commands to start this lisp, usually listed at the top if you open the file in a notepad or another text editor these are the commands listed and what they do. This one is cool I am trying to learn too...

 

;;; Function c:BreakAll - Break all objects selected

;;; Function c:BreakwObjects - Break many objects with a single object

;;; Function c:BreakObject - Break a single object with many objects

;;; Function c:BreakWith - Break selected objects with other selected objects

;;; Function c:BreakTouching - Break objects touching the single Break object

;;; Function c:BreakSelected - Break selected objects with any objects that touch it

Usually after you load a lisp in the command window it shows the command to start the routine like this :

 

C:BREAKSELECTED

Posted

The .lsp should be complete; there is nothing that "not need to be copied over".

Guest Alan Cullen
Posted

nrschmid,

 

Further to what lpseifert said, it is bad practice to alter someone's Lisp without their permission.

Posted

Well thanks for the update. I am also having to reload the lsp files each time I restart AutoCAD through appload. Anyway around this problem (I am thinking click on startup suite?)

Guest Alan Cullen
Posted

Find or create a file called acaddoc.lsp, the add this line to it (load "lispname.lsp"), where lispname is the name of the lisp file you want to load. Then save the acaddoc.lsp to the support folder of your acad installation.

Posted
nrschmid,

 

Further to what lpseifert said, it is bad practice to alter someone's Lisp without their permission.

 

 

This is on the lisp head

 

You are hereby granted permission to use, copy and modify this ;

;;; software without charge, provided you do so exclusively for ;

;;; your own use or for use by others in your organization in the ;

;;; performance of their normal duties, and provided further that ;

;;; the above copyright notice appears in all copies and both that ;

;;; copyright notice and the limited warranty and restricted rights ;

;;; notice below appear in all supporting documentation. ;

;;;=====================================================================

So, he allow to modify it

  • 10 years later...
Posted
thanks for the file. New to using most lsp's. I saved the filed as breakobjects.lsp and loaded it into CAD. What commands can I use? Does part of the text not need to be copied over? Thanks-

 

Is this lisp still available?

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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