SampleLineCreate(String, ObjectId, Double) Method

Creates a new sample line at a specified station.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	string sampleLineName,
	ObjectId sampleLineGroupId,
	double station
)

Parameters

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

Return Value

ObjectId
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