Gets the Alignment's end station.

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

Syntax

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

Examples

CopyC#
 1// Now add the entities that define the profile.
 2Profile oProfile = ts.GetObject(oProfileId, OpenMode.ForRead) as Profile;
 3
 4Point3d startPoint = new Point3d(oAlignment.StartingStation, -40, 0);
 5Point3d endPoint = new Point3d(758.2, -70, 0);
 6ProfileTangent oTangent1 = oProfile.Entities.AddFixedTangent(startPoint, endPoint);
 7
 8startPoint = new Point3d(1508.2, -60.0, 0);
 9endPoint = new Point3d(oAlignment.EndingStation, -4.0, 0);
10ProfileTangent oTangent2 = oProfile.Entities.AddFixedTangent(startPoint, endPoint);                
11
12oProfile.Entities.AddFreeSymmetricParabolaByLength(oTangent1.EntityId, oTangent2.EntityId, VerticalCurveType.Sag, 900.1, true);

See Also