convert segmented aligned lines to a single line

convert segmented aligned lines to a single line

Anonymous
Not applicable
10,480 Views
3 Replies
Message 1 of 4

convert segmented aligned lines to a single line

Anonymous
Not applicable

Is there a lisp that would recognize a set of aligned connected lines and would change it into a single stright line?

 

Something like connecting lines into polyline, using PolyLineDiet to get rid of unnecessary nodes and exploding polyline would do.. just I don't need PL so it is work around and I didn't figure how to convert multiple sets of lines into polylines at once.. PE does only one connected set at one run and I have a plenty of those..
Trying to clean up an export of elevation view  from sKetchup.. It breaks lines in every intersection even only apparent intersection..

 

AutoCad Map 3D 2016

0 Likes
Accepted solutions (1)
10,481 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

The JOIN command will convert many segmented lines to one line.

0 Likes
Message 3 of 4

Anonymous
Not applicable

0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant

Just for the record... if you draw a line, break it into pieces and then re-join them using JOIN command, you'll get a single line. That's happening in 2020.

0 Likes