Share

SampleLine.Create(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.280

Syntax

C#

public static ObjectId Create(
	string sampleLineName,
	ObjectId sampleLineGroupId,
	double station
)

VB

Public Shared Function Create ( 
	sampleLineName As String,
	sampleLineGroupId As ObjectId,
	station As Double
) As ObjectId

C++

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

Reference

Was this information helpful?