Creation of Pressure Network and add pressure pipe in it via C3D API

Pravin_Lande
Enthusiast
Enthusiast

Creation of Pressure Network and add pressure pipe in it via C3D API

Pravin_Lande
Enthusiast
Enthusiast

Is there any API functionality available by which we can create Pressure Pipes from selecting Polylines and after that adding that Pressure pipes to Single Network.

0 Likes
Reply
1,204 Views
6 Replies
Replies (6)

augusto.goncalves
Alumni
Alumni

The Pressure Pipe API allow .Create, then you call .AddXxxx methods to add pipes. 

 

Note you need the AeccPressurePipeMgd reference.

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes

Pravin_Lande
Enthusiast
Enthusiast

Hi I tried to Create Pressure Network and now want to add LinePipe to it. AddLinepipe requires two parameters first as LineSegment3D and another is PressurePartSize. When I am trying to fetch PressurePartSize, its giving me error as PressurePartSize is not accessible as its Friend. Kindly suggest how can I add LinePipe to PressureNetwork.

redtransitconsultants
Collaborator
Collaborator

@augusto.goncalves,

 

Is this actually working? I've discussed with you at least once that I've never been able to get the Pressure Pipes API to work. I have tried to obtain parts from the selection or information above various components in the Pressure Pipe Network and have never been successful.

 

 

Steve Hill,Civil Designer / .NET Developer / AutoCAD and AutoCAD Civil 3D Certified Professional
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn | YouTube

0 Likes

Ok, sorry my mistake here, indeed the PressurePartSize is not exposed (marked as internal).

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes

redtransitconsultants
Collaborator
Collaborator

Thanks Augusto.

 

There are many items not working, even if they are exposed, within the Pressure Pipes API. Really would love to see this get implemented so that developers outside of Autodesk can jump in and start creating some solutions to help improve the areas where Pressure Pipes are lacking - at least with a 3rd party solution. Have had many customers ask if I offer tools or if anyone I know of does.....

 

 

 

Steve Hill,Civil Designer / .NET Developer / AutoCAD and AutoCAD Civil 3D Certified Professional
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn | YouTube

0 Likes

soonhui
Collaborator
Collaborator

@Pravin_Lande 

 

I've filed a case for pressure pipe support at ideas forum, please consider to go there and give it a vote if you want it to be done quickly

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software.

Read more at here

0 Likes