AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Contributor
theEntity
Posts: 21
Registered: ‎08-05-2012
Message 1 of 4 (120 Views)

PressurePipe part properties API suggestion

120 Views, 3 Replies
06-18-2013 07:23 AM

Can we get a object to manipulate the 'part properties' for pressure pipes?

 

I can get all the "NORMAL"  pipe network IDs with Autodesk.Civil.ApplicationServices.CivilApplication.ActiveDocument.GetPipeNetworkIds()

 and access partdata with partdatafields()  for the "normal" pipes. why not make a similar object for pressurePipes?

 

I want to be able to do the same for pressure pipes but the aeccPressurePipesMgd.dll is far less powerful.

 

why not just morph the pipenetwork interface for pressurepipes.

 

 

ADN Support Specialist
augusto.goncalves
Posts: 370
Registered: ‎04-30-2009
Message 2 of 4 (116 Views)

Re: PressurePipe part properties API suggestion

06-18-2013 08:06 AM in reply to: theEntity

Unfortunately the AeccPressurePipeMgd is the way... and it's not very complete yet.

 

I would say that you can get the PressurePipe by user selection and then get the respective NetworkId to read other pipes information.

 

Would that help? I checked on 2014 version.

 

Regards,



Augusto Goncalves
Autodesk Developer Network
Contributor
theEntity
Posts: 21
Registered: ‎08-05-2012
Message 3 of 4 (93 Views)

Re: PressurePipe part properties API suggestion

06-21-2013 08:16 AM in reply to: theEntity

Thanks for reply.

 

I wish to get access to the part data of the pressure pipe.

I.e Horizontal Raduis.

 

Using AeccPressurePipeMgd.dll,  I can get the length and calculate the point2point (chordlengh). to approximate the the raduis of a curved pipe with calculus,, but that would be so much easier to just give us access to the partdata.

 

anycase.

It can not be so much of a hassle to morph the pipenetwork interface into a similar pressurepipes object type.. i mean for you guys. they seem to be much like the same type.

ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 4 of 4 (80 Views)

Re: PressurePipe part properties API suggestion

06-26-2013 02:45 AM in reply to: theEntity

Very little of PressurePipe functionalities are exposed in .NET API at the moment. This is not even documented in Developer Guide neither in API Reference doc. These are in wish-list for future release of Civil 3D.

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.