Create Method

Creates a new instance of an AlignmentMinorStationLabelGroup on an alignment entity with the specified label style.

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

Syntax

C#

public static ObjectId Create(
	ObjectId styleId,
	ObjectId majorStationId,
	double increment
)

Visual Basic

Public Shared Function Create ( _
	styleId As ObjectId, _
	majorStationId As ObjectId, _
	increment As Double _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	ObjectId styleId, 
	ObjectId majorStationId, 
	double increment
)

Parameters

styleId
Type: ObjectId
The style ID of the new AlignmentMinorStationLabelGroup.
majorStationId
Type: ObjectId
ObjectId of major station label group.
increment
Type: System.Double

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the styleId or majorStationId is invalid.

See Also