I can set Description when SuperelevationCriticalStation is type= Manual, but with other SuperelevationCriticalStationType are either (BeginFullSuper,BeginNormalCrown, etc) , I recive the next warm:
"Invalid Operation Exception".
I´m using the following code:
CriticalStationColl.Add(100, Autodesk.Civil.SuperelevationCriticalStationType.BeginFullSuper); CriticalStation = CriticalStationColl.GetCriticalStationAt(100, 0.01); CriticalStation.TransitionDescription = " description...";
Solved! Go to Solution.
I can set Description when SuperelevationCriticalStation is type= Manual, but with other SuperelevationCriticalStationType are either (BeginFullSuper,BeginNormalCrown, etc) , I recive the next warm:
"Invalid Operation Exception".
I´m using the following code:
CriticalStationColl.Add(100, Autodesk.Civil.SuperelevationCriticalStationType.BeginFullSuper); CriticalStation = CriticalStationColl.GetCriticalStationAt(100, 0.01); CriticalStation.TransitionDescription = " description...";
Solved! Go to Solution.
Solved by joantopo. Go to Solution.
I have the answer question:
System.InvalidOperationException = Thrown when changing TransitionDescription value on a critical station which StationType is not SuperelevationCriticalStationType::Manual.
I have the answer question:
System.InvalidOperationException = Thrown when changing TransitionDescription value on a critical station which StationType is not SuperelevationCriticalStationType::Manual.
Yes - this is mentioned in the API Ref doc -
Cheers,
Partha
Yes - this is mentioned in the API Ref doc -
Cheers,
Partha
Can't find what you're looking for? Ask the community or share your knowledge.