Adds a station to the BaselineRegion.

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

Syntax

C#
public void AddStation(
	double rawStation,
	string description
)
Visual Basic
Public Sub AddStation ( _
	rawStation As Double, _
	description As String _
)
Visual C++
public:
void AddStation(
	double rawStation, 
	String^ description
)

Parameters

rawStation
Type: System..::..Double
The station number to add.
description
Type: System..::..String
A description of the station.

Examples

CopyC#
1// Add an assembly to the middle of the baseline region
2double newStation = oBaselineRegion.StartStation +
3    ((oBaselineRegion.EndStation - oBaselineRegion.StartStation) / 2);
4oBaselineRegion.AddStation(newStation, "New Station");
5ed.WriteMessage("Added New Station: {0}", newStation);

See Also