Merge Lines

I have this lines that is overlap.

overlap.3dm (19.8 KB)

I need merge various lines in one single line, clear that the two or more curves must be in the same alignment.

Any rs.mergecurve magic command??

thank you

No, there is not.
What you would have to do more or less is:

Intersect the curves and find any overlap sections
Split all the curves at all overlap points, simplify the result (to get lines hopefully)
Remove all duplicates but one at the overlaps
Join all back together, re-simplify.

–Mitch

:joy::joy:
Thank you