Gets the ObjectId collection of sample lines at a specified station in the sample line group.

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

Syntax

C#
public ObjectIdCollection GetSampleLineIds(
	double station,
	double tolerance
)
Visual Basic
Public Function GetSampleLineIds ( _
	station As Double, _
	tolerance As Double _
) As ObjectIdCollection
Visual C++
public:
ObjectIdCollection^ GetSampleLineIds(
	double station, 
	double tolerance
)

Parameters

station
Type: System..::..Double
The station at which sample lines are got.
tolerance
Type: System..::..Double
The tolerance for the station value.

Return Value

The sample lines at the specified station and an empty collection if no sample line is found.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified station is out of the range of the alignment.

See Also