I tried creating the pipes from CAD using Pipe.ByLine(found also here) and it worked as intented but couldnt get them to connect, hence creating more than one Fire protection Wet System.
As an alternative method, I have followed the Python Script provided on those two threads and tweaked them a bit but I am unable to create any piping.
My question is :
Coold you help me debug the code?Script and code below with the error.
BONUS: If possible, a hint in how can I create any fittings and connect to sprinklers? I Have already put the sprinklers using DataExtraction from AutoCAD.
Cant upload my .DYN so,