Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anyone have a 'Mend Multiple Lines' Lisp Routine ?

4 REPLIES 4
Reply
Message 1 of 5
m_johnson
230 Views, 4 Replies

Does anyone have a 'Mend Multiple Lines' Lisp Routine ?

We are running LT2000 with the LT Toolkit. We have a lisp routine that mends 2 lines or arc segments into one single object. Basically, the opposite of 'Break'.
Does anyone have a similar routine that would mend a series of multiple lines in one go. I am told there was a command that did this in AutoCAD AEC. This would speed things up a lot. If anyone needs the original 'mend' routine, I can post this. Thanks in advance for any response.
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: m_johnson

Are all the lines colinear?

Chuck


"m_johnson" wrote in message news:f089c53.-1@WebX.maYIadrTaRb...
> We are running LT2000 with the LT Toolkit. We have a lisp routine that mends 2 lines or
arc segments into one single object. Basically, the opposite of 'Break'.
> Does anyone have a similar routine that would mend a series of multiple lines in one go.
I am told there was a command that did this in AutoCAD AEC. This would speed things up a
lot. If anyone needs the original 'mend' routine, I can post this. Thanks in advance for
any response.
>
Message 3 of 5
m_johnson
in reply to: m_johnson

Yes. The 'mend' routine asks you to selct the first line, then select the second line. It then joins the two segments together to form one object.
Message 4 of 5
Anonymous
in reply to: m_johnson

This routine may need to be cleaned up a little for your purposes.

It will work on multiple lines, provided they are all colinear. It only works on
horizontal and vertical lines though.

Note that the properties for the line you end up with are taken from the first line you
select when picking lines to mend.

Chuck


"m_johnson" wrote in message news:f089c53.1@WebX.maYIadrTaRb...
> Yes. The 'mend' routine asks you to selct the first line, then select the second line.
It then joins the two segments together to form one object.
>
Message 5 of 5
Anonymous
in reply to: m_johnson

Here is roughy I wrote years ago. Always meant to "pretty" it up, but it
works well.
You select a line of the type you wish to join. It selects all entities on
that layer and uses the PEDIT command to join them together if it can.

Good for when I get files from other programmes that has all individual
lines.

Jon

"m_johnson" wrote in message
news:f089c53.-1@WebX.maYIadrTaRb...
> We are running LT2000 with the LT Toolkit. We have a lisp routine that
mends 2 lines or arc segments into one single object. Basically, the
opposite of 'Break'.
> Does anyone have a similar routine that would mend a series of multiple
lines in one go. I am told there was a command that did this in AutoCAD AEC.
This would speed things up a lot. If anyone needs the original 'mend'
routine, I can post this. Thanks in advance for any response.
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost