how to create pressurepipe with fitting using c# code

how to create pressurepipe with fitting using c# code

Anonymous
Not applicable
1,248 Views
2 Replies
Message 1 of 3

how to create pressurepipe with fitting using c# code

Anonymous
Not applicable

Hi

i want to create  pressure pipe and fittings using c# code  so i am unable to extract pressurepartsize from pressure pipe any one can help me

 

 Autodesk.Civil.DatabaseServices.Styles.PressurePartSize is showing error that in accessable due to protection level.

 

oNetwork.AddLinePipe(line,PartSize);

0 Likes
1,249 Views
2 Replies
Replies (2)
Message 2 of 3

stevenh0616
Collaborator
Collaborator

I've been trying to do a lot of things with the Pressure Pipe API, but it doesn't work. I've been told for a few years now that Pressure Pipes are an emerging component of Civil 3D... and the Pressure Pipe .NET API hasn't been updated since it was first rolled out. Thus, I don't believe this is possible with the current API.

 

Perhaps others have better input than I do, but that's been from my efforts in trying to get it to work.

 

 

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

Message 3 of 3

Anonymous
Not applicable

March 2019 - any change? - did anyone discover a way to create pressure pipes using the managed api (dot net)?

I guess we could use LANDXML as a work-around.

 

0 Likes