TheSwamp
Code Red => .NET => Topic started by: banna.kbet@gmail.com on March 02, 2017, 12:13:14 AM
-
Hi,
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.
thanks-
Banna
-
Dont know about auto join but have you tried Pedit or Pe and Join ? is this what your trying to automate ? What happens when you get to a Tee ? Which direction do you go in ?
As a start select lots of object sort all objects by end points, select the start object and use pedit iterating through the end points and joining note you may have to swap start & end as you dont know which way it was drawn L-R or R-L.