Gets the station set according to the StationType, intervals and station range.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public Station[] GetStationSet( StationTypes stationType, double majorInterval, double minorInterval, double startStation, double endStation )
VB
Public Function GetStationSet ( stationType As StationTypes, majorInterval As Double, minorInterval As Double, startStation As Double, endStation As Double ) As Station()
C++
public: array<Station^>^ GetStationSet( StationTypes stationType, double majorInterval, double minorInterval, double startStation, double endStation )
Parameters
- stationType StationTypes
- The type of the station which will be collected.
- majorInterval Double
- The major interval of station.
- minorInterval Double
- The minor interval of station.
- startStation Double
- The start station of station range.
- endStation Double
- The end station of station range
Return Value
StationExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the value of majorInterval or minorInterval is negative. |
ArgumentException | Thrown if the value of startStation or endStation is out of station range of the alignment or start station is less than end station. |