Gets the baselines collection for the corridor.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.0
Syntax
Examples
CopyC#
1foreach (Baseline oBaseline in oCorridor.Baselines)
2{
3 Alignment oAlign = ts.GetObject(oBaseline.AlignmentId, OpenMode.ForRead) as Alignment;
4 Profile oProfile = ts.GetObject(oBaseline.ProfileId, OpenMode.ForRead) as Profile;
5 ed.WriteMessage(@"Baseline information -
6 Alignment : {0}
7 Profile : {1}
8 Start station : {2}
9 End station : {3}\n",
10 oAlign.Name,
11 oProfile.Name,
12 oBaseline.StartStation,
13 oBaseline.EndStation);
See Also