That would surely be easier, but I kind of fail to see in what kind of situation this would be useful (faster than just using the Revit interface that is). Would love to see a proper application of this node
I can imagine. Maybe sort all the pipes (or their endpoints) by location. Then for every point in the sorted list check if the next points are within a certain margin (meaning they must belong together) and then connect those. Of course this can be really error prone if you can’t get the margin right.
The use of the node you provided work well. I have come round to do a cable tray script that requires to connect them up with a cross and what sad to see that your python node above doesn’t work for that.
I look at the Revit API you used and couldnt find any reference to pipes or to a cable tray equivalent. I was wondering if you had any ideas?