I have a pipe drawing in which each pipe has many different sections like small line, arc, blank space etc.
When I click on one endpoint of that like it will automatically connect all small lines, arc and bank spaces between them.
I want to connect them all into one line.
I have different colors line. Connecting lines could be done by calculating distance or could be done by color.
I also want to know the whole pipeline length.
If any one could help me I will be very glad.
Please help me with C# coding or LISP.