I have an example of a pipe network that has pipes and structures placed, but they are currently unconnected. I am working on a program that will leverage dynamo to connect the Pipe Start and Pipe End to the corresponding structure at those same location interfaces. The tricky thing about this scenario is that because there are several pipeline branches in this network, it’s not as simple as just adding a list of pipes and structures to the Pipe.ConnectStartToStructure node (some of the structures have multiple pipes connected).
I will attach the files I am working on, but I am hoping to set some help in generating the list of structures that correspond to each pipe start point (some structures will be repeated in the list). If there is a better way of achieving my goal for this program I am open to ideas. Thanks!
JJH_ConnectPipesStructures.dyn (19.2 KB)
Update: it is saying the DWG I am attempting to include with this post is too large. I will include a snippet of what the pipe network looks like. The pipe network itself is not important as long as it has multiple branches.