AlignmentStationLabelGroupCreateMajor Method

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId CreateMajor(
	ObjectId styleId,
	ObjectId alignmentId,
	double increment
)

Parameters

styleId  ObjectId
The style of the new AlignmentStationLabelGroup.
alignmentId  ObjectId
The alignment in which the label group is located.
increment  Double
Increment at which to insert major and minor station labels.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the styleId or alignmentId is invalid.
See Also