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.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId styleId, ObjectId majorStationId, double increment )
VB
Public Shared Function Create ( styleId As ObjectId, majorStationId As ObjectId, increment As Double ) As ObjectId
C++
public: static ObjectId Create( ObjectId styleId, ObjectId majorStationId, double increment )
Parameters
- styleId ObjectId
- The style ID of the new AlignmentMinorStationLabelGroup.
- majorStationId ObjectId
- ObjectId of major station label group.
- increment Double
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the styleId or majorStationId is invalid. |