Hi.
I have a command in my app to export superelevations to a *.CSV file with the same structure that superelevations files of Civil 3D.
In this case, I don´t read the superelevations of the alignment with API. I read "SectionPointCollection" of each section and I calculate superelevations(cross slope) for left outside lane and right outside lane.
The goal is get superelevations from existing road (rehabilitation) instead of using subassemblies(rehabilitation) which calculate cross slopes.
I know each station (for each section) but I don´t know where is located this station in Superelevation Curves (if is the first Superelevation Curve, the second..., the third superelevation curve,etc....)
So,I need that value to put in the file.
Here is a sample of this file:
Superelevation Region;Station;Description;Smoothing Curve Length;Left Outside Shoulder;Left Outside Lane;Left Inside Lane;Left Inside Shoulder;Right Outside Shoulder;Right Outside Lane;Right Inside Lane;Right Inside Shoulder ;0+000.00m;Begin Alignment;0.000;-2.00%;-2.00%;0.00%;-2.00%;-2.00%;-2.00%;0.00%;-2.00% 1;0+025.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+050.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+075.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+100.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+125.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+150.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76% 1;0+175.00m;P.K. manual;0.000;0.76%;0.76%;0.76%;0.76%;-0.76%;-0.76%;-0.76%;-0.76%
As you can see, the value "1" is refers to number superelevation curve.
In addition, if you try to add a superelevation critical station (manual) using Civil 3D in the superelevation table and you have selected for example "superelevation curve 3"- it is highlighted, and you pick graphhically the station near the curve 1, the new critical station will be created in the Superelevation Curve 3.
Then, How can I find the correct superelevation curve according to the station?
I think that Civil 3D should calculate the superelevation curve properly acccording the selected station.
Regards.
Solved! Go to Solution.
Solved by peterfunkautodesk. Go to Solution.
If I import that superelevation file, I get this message:
-Accept all data
or
-Ignore data.
If I accept all data, all critical superelevation stations are included in The Superelevation Curve 1.
Apparently, there is any problem, but... Can I have any trouble with this scenario?
If all the data comes in, then you should be OK. The superelevation curve group is only important if you want to recalculate the superelevation from the curve data. Because you are adding the data from the existing road, then it shouldn't be an issue.
There is a function in the Subassembly Composer that can calculate the slope of a surface between two points using linear regression that you might want to look at for getting the existing road conditions.
Regards,
Peter Funk
Autodesk, Inc.