Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PressurePipe part properties API suggestion

11 REPLIES 11
Reply
Message 1 of 12
theEntity
748 Views, 11 Replies

PressurePipe part properties API suggestion

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.

 

 

11 REPLIES 11
Message 2 of 12

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
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 12
theEntity
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.

Message 4 of 12
Partha.Sarkar
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

Message 5 of 12

Partha and Augusto,

 

I know it's not your fault, but when I see posts of this age and in the new release just happend this month with no change to the status of pressure pipes it sends a strong message to the developer community that meaningful API development is dead at Autodesk in relation to the Civil 3D API. The API, three releases later, still doesn't document what is available in the AeccPressurePipeMgd API or include improvements that have been requested. I just wish Autodesk was honest with everyone and let us know what the future of pressure pipes is. Are they waiting for 2020 to do something with pressure pipes? What year is the goal to get something working, if ever?

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 6 of 12

Agreed. I've been trying to figure out how to get this working for some time. Have asked with little response.

 

There's a blog post here from June 2013 when this first rolled out. I've never been able to get it to work.

 

http://adndevblog.typepad.com/infrastructure/2013/06/autocad-civil-3d-and-pressure-pipe-net-api-part...

 

Users are screaming for enhancments to a tool that has been said to be in the nascent stage since it's debut.



Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn



Please select the Accept this solution button if my post solves your issue or answers your question.

Message 7 of 12

Dear all,

 

has there been any movement on the API side? We sincerely need to customize the profile bands etc. Since this does not seem to be supported we need to find workarounds. One idea was using the API.

 

Best

 

Sebastian

Message 8 of 12
pkarkoska
in reply to: theEntity

I am attempting to extract PressurePipe properties from a Civil3D drawing, but it seems like the functionality of the API is limited in that area, as far as technical properties (bend radius, turn angle, etc.).

 

Here it is, August of 2019 and it doesn't seem that any progress has been made on this front. Can anyone tell me otherwise?

Message 9 of 12
stevenh0616
in reply to: pkarkoska

Nope, unfortunately nothing has been done on it that I'm aware of. I've been waiting for quite some time as well.



Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn



Please select the Accept this solution button if my post solves your issue or answers your question.

Message 10 of 12
pkarkoska
in reply to: stevenh0616

Thanks for the update, Steve. It throws a pretty big wrench in something I am currently working on lol. Have you been able to successfully employ any workarounds up to this point? Besides being able to come up with some crude estimations by doing calculations of my own, I am not sure there is much else that can be done...=(

Message 11 of 12
stevenh0616
in reply to: pkarkoska

I agree. I have quite a few things I've had in the works for sometime that just won't work because the API isn't completed.

 

There are ways of obtaining the parts using Selections with filters since the CivilDoc won't return the networks and you can't get Pipes, Appurtenances, or other structures from it. I have used those for some things... from there you can get some geometry such as start and end locations and then comp out the lengths, but there's issues with curved pipes where there's not a good solution. Unless I'm being paid to find a workaround, I've pretty much stopped looking into it because it's a big waste of time.

 

I would just keep pushing through all the various channels, Forums, Idea Stations, BETA groups (if you are involved in them), that Autodesk get this finished. The more people effected by it, the better chances of it getting completed.



Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn



Please select the Accept this solution button if my post solves your issue or answers your question.

Message 12 of 12

The best way to get Autodesk to finish the API is to get your company to stop giving Autodesk money, and let Autodesk know that is the reason. Autodesk is obviously not spending the rent you pay for Civil 3D on Civil 3D. Join Autodesk's decision to stop spending money and development time on Civil 3D. 

 

Autodesk has shown in the last 7 or 8 years Civil 3D isn't a priority. If it's not a priority for them, it shouldn't be a priority for you to give them money.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report