Corridor properties start and end stations

This widget could not be displayed.

Corridor properties start and end stations

Anonymous
Not applicable

Hello all!

I have station numbers as 101, 102, 103 ,104 and etc. The question is if possible to change start and end station to these numbers (for example start 102 + 12) ?

for BaselineRegion.StartStation Property we have 

C#  

public double StartStation { get; set; }

Visual C++

public: property double StartStation { double get (); void set (double value); }

So only double(int) may be used for Start/End Station? Is it another way to change this value for string?
This link can change these station but only for continuous distance:

  https://adndevblog.typepad.com/infrastructure/2014/01/updating-civil-3d-corridor-baselineregion-star...

Thank you

0 Likes
Reply
Accepted solutions (1)
896 Views
3 Replies
Replies (3)

Civil3DReminders_com
Mentor
Mentor

Do you want to change how the station shows up in the corridor properties? 

 

If so that would be done in the Settings Tab. 

 

CorridorFeatureSettings.png

 

If you want to format the text to the command line you'd get the station value, and the alignment, and then use the GetStationStringWithEquations method:

 http://docs.autodesk.com/CIV3D/2016/ENU/API_Reference_Guide/html/20c7503d-e650-629d-9527-733f9ddcf38...

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

Anonymous
Not applicable

If you want to format the text to the command line you'd get the station value, and the alignment, and then use the GetStationStringWithEquations method:

 http://docs.autodesk.com/CIV3D/2016/ENU/API_Reference_Guide/html/20c7503d-e650-629d-9527-733f9ddcf38...


The question is how to set this string to Region Start/End station? Is it possible?

0 Likes

Jeff_M
Consultant
Consultant
Accepted solution
It must be converted to a double.
Jeff_M, also a frequent Swamper
EESignature
0 Likes