AutoCAD Civil 3D and Pressure Pipe .NET API, Part – I

By Partha Sarkar

 

Pressure Pipe
is relatively a new Feature in AutoCAD Civil 3D which was introduced in
previous release. This is an evolving feature which was enhanced in the current
release and I see a scope of further enhancement in the coming days. Certain
objects and it's functionalities of Pressure Pipe is also exposed in .NET API
and it is packaged in its own assembly called "AeccPressurePipesMgd.dll"
and you need to reference the same assembly to use Pressure Pipes .NET API
features.

 

In this
screenshot we can see currently available classes in AeccPressurePipesMgd.dll

Civil3D2014_PressurePipeAPI

 

CivilDocumentPressurePipesExtension
has a static method GetPressurePipeNetworkIds(CivilDocument document) which
will get us the ObjectIdCollection of the PressurePipeNetworks in the current
Civil 3D DWG file and that's going to be our access point.

 
In the next post we
will explore more on Pressure PipeNetwork .NET API in Civil 3D 2014; till then,
don't hesitate to post your comment here on what you have explored so far, in
Pressure Pipe .NET API and what you would like to see in future release.


Comments

5 responses to “AutoCAD Civil 3D and Pressure Pipe .NET API, Part – I”

  1. umar jikhad Avatar
    umar jikhad

    without band types for profile views to get data (elevation etc) to profile footer table your “pressure networks” are NO USE AT ALL!
    thanks for taking forever to do something decent for pressure networks engeneers.

  2. Thanks for the sharing of such information. we will pass it on to our readers. This is a great reading. Thanking you

  3. Basha Avatar
    Basha

    Hi Partha, Thanks for the API for Pressure Pipe. Can you please guide me to the link where i can find all the Civil 3D objects that are exposed through API.
    Thanks,
    Basha

  4. Basha Avatar
    Basha

    Thanks

  5. Hi Basha,
    Pressure Pipe .NET API is at nascent stage. There is no official documentation available yet on Pressure Pipe .NET API.
    For all the Objects in Civil 3D .NET API you can get the API Reference doc as well as Develoer Guide link from my earlier blog post –
    http://adndevblog.typepad.com/infrastructure/2013/04/autocad-civil-3d-2014-developer-documents.html
    Thanks,
    Partha

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading