ProfileMinorStationLabelGroupCreate Method

Creates a new instance of ProfileMinorStationLabelGroup on the profile in the specified with the specified label style.

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

Parameters

styleId  ObjectId
The style ID of the new ProfileMinorStationLabelGroup.
majorStationLabelGroupId  ObjectId
The object ID of major station label group.
increment  Double
The increment value at which to insert major and minor station labels.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  1. The styleId is invalid.
  2. The majorStationLabelGroupId is invalid.
  3. The increment value is less than 0.
See Also