Returns the start station value for the baseline.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public double StartStation { get; }
Visual Basic
Public ReadOnly Property StartStation As Double
	Get
Visual C++
public:
property double StartStation {
	double get ();
}

Examples

CopyC#
 1private void WriteBaselineInfo(Baseline baseline)
 2{
 3    Alignment baselineAlignment = baseline.AlignmentId.GetObject(OpenMode.ForRead) as Alignment;
 4    Profile baselineProfile = baseline.ProfileId.GetObject(OpenMode.ForRead) as Profile;
 5
 6    // BaselineData is a sample helper class used to convert all the Baseline data
 7    // to strings and write them.
 8    // 
 9    BaselineData data = new BaselineData()
10    {
11        Name = baseline.Name,
12        StartStation = baseline.StartStation.ToString(),
13        EndStation = baseline.EndStation.ToString(),
14        AlignmentName = baselineAlignment.Name,
15        ProfileName = baselineProfile.Name,
16        BaselineType = baseline.BaselineType.ToString(),
17        // 'baseline.IsProcessed' has been deprecated. Use 'baseline.NeedsProcessing' instead.
18        NeedsProcessing = baseline.NeedsProcessing.ToString()
19    };
20
21    _writer.WriteBaselineInfo(data);
22
23    foreach (BaselineRegion region in baseline.BaselineRegions)
24    {
25        WriteBaselineRegion(region);
26    }
27
28    // TODO: Should we include 'MainBaselineFeatureLines' here or do we need another example?
29    // TODO: Should we include 'OffsetBaselineFeatureLinesCol' here or do we need another example?
30
31    _writer.CloseBaselineInfo();
32}

See Also

Baseline class
OffsetBaseline class
HardcodedOffsetBaseline class