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: 

Corridor properties start and end stations

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
837 Views, 3 Replies

Corridor properties start and end stations

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

3 REPLIES 3
Message 2 of 4
Civil3DReminders_com
in reply to: Anonymous

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
Message 3 of 4
Anonymous
in reply to: Civil3DReminders_com


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?

Message 4 of 4
Jeff_M
in reply to: Anonymous

It must be converted to a double.
Jeff_M, also a frequent Swamper
EESignature

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report