Line to pipe in civil 3d dynamo

I am working with block reference. I have created a line using block reference. Now i want to convert that line into pipes. Using Addpipebycurve node but is not working for that type of case. Except that is working.
Error is → Warning: PipeNetwork.AddPipeByCurve operation failed.
Object reference not set to an instance of an object. In both the cases.



Block Reference to Lines.dyn (319.0 KB)

I am struggling with the same issue for the last few days. Creates a line but can not convert into a pipe.

@Tqx01
We can’t see the nodes. Please zoom in until you can read the node name and then export the workspace as a picture using the function in uppger right corner of the canvas.
Or even better, please share your graph.

The forum won’t allow me to attached a file being a new user and the image looks the same even zoomed all the way in. Here is the dropbox link.

1 Like

I used both
But the result was same.

Just try in another dwg file.

I used this graph in another dwg file. and it is working fine. May be there is an issue with dwg file itself.

Same thing happened for me. I used the default drawing and called up a different pipe.