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: 

Superelevation Curve Name API 2014

4 REPLIES 4
Reply
Message 1 of 5
joantopo
511 Views, 4 Replies

Superelevation Curve Name API 2014

Hi.

 

This is my aplicattion in Civil 3D 2014.

 

http://www.uploadhouse.com/viewfile.php?id=18399007

 

It´s a tool palette that checks the design criteria (for alignments,superelevations and profiles) according to Spanish rules.

 

 

My program changes the name of each superelevation curve,for example:

 

---> With superelevation tool own of Civil 3D (Cuve.1,Curve.2,Curve.3)

 

---> With my program: (VisorNET Curva.1,VisorNET Cuva.2,.....)

*You can see it with the screen shoot.

 

 

 But now, I have a trouble:

 

 If I calcule again Superelevations using Superelevation button (Calculate/Edit superelevation)of Civil 3D, Civil 3D doesn´t change the Superelevation Curve Names and appears again (VisorNET Curva.1,VisorNET Curva.2,...).

 

Superelevation CurveName property doesn´t exist in settings:

http://docs.autodesk.com/CIV3D/2012/ENU/API_Reference_Guide/net/html/3a9b9a90-819b-2f89-35ae-fa11d2c...

and there isn´t a name template. 

 

 

I would like to have this property (read and write----get and set) of settings.

Then, I could re-write  the default Superelevation CurveName format. (name template)

 

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
4 REPLIES 4
Message 2 of 5
joantopo
in reply to: joantopo

Note: I´m using "Superelevation Curve name" to distinguish (differ) if the user has calculated, the last time, superelevations using Civil 3D tool or my  application.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
Message 3 of 5
Partha.Sarkar
in reply to: joantopo

Hi,

 

SuperelevationCurve.Name prop is { get; set; }

 

Please check this link - http://docs.autodesk.com/CIV3D/2014/ENU/API_Reference_Guide/html/5a4b476b-7b64-7140-55ce-39f18ebcb85...

 

SuperelevationCurve.Name Prop  - > Sets or gets the name of the SuperelevationCurve.

 

C#

public string Name { get; set; }

 

Hope this helps.

Thanks,

Partha Sarkar



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 4 of 5
joantopo
in reply to: joantopo

Yes, I know it.

 

The trouble is when I calculate superelevations with (calculate/edit superelevations). Civil 3D doesn´t change the old curve names and doesn´t rewrite the curve names again like "Curve.1" " Curve.2" etc..

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
Message 5 of 5
Partha.Sarkar
in reply to: joantopo

But after recalculation you can check the curve name and set the name using SuperelevationCurve.Name.

BTW - do you see same behavior using Civil 3D UI tools ? Or you see API call does it in a different way ?

 

Please let me know if I am missing something to understand the question here. If this is something you want to add as wish list, please submit your wish list to either ADN or Autodesk PS team.

 

Thanks,

Partha Sarkar



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report