Copying pressure pipes

I figured it out with the help of some colleagues at work. My first approach in Python was producing a shallow copy of the pressure pipe. To finish things off I just add a few more lines to add the shallow copied object to a PressureNetwork using the AddPipe method.

C3D didn’t automatically rename the PressurePipes copied so I did that in Python as well through the COM api (ie AcadObject.Name)

2 Likes