Creates a new sample line at a specified station.

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

Syntax

C#
public static ObjectId Create(
	string sampleLineName,
	ObjectId sampleLineGroupId,
	double station
)
Visual Basic
Public Shared Function Create ( _
	sampleLineName As String, _
	sampleLineGroupId As ObjectId, _
	station As Double _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	String^ sampleLineName, 
	ObjectId sampleLineGroupId, 
	double station
)

Parameters

sampleLineName
Type: System..::..String
The name of the newly created sample line.
sampleLineGroupId
Type: ObjectId
The ObjectId of the sample line group to which the newly created sample line is added.
station
Type: System..::..Double
The station at which the sample line is created.

Return Value

The ObjectId of the newly created sample line.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified sample line name, sample line group id or station is invalid.

See Also