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:
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)
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.
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
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..
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