AlignmentStationLabelGroupCreateMajor Method |
Creates a new instance of an AlignmentStationLabelGroup on an alignment entity with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId CreateMajor(
ObjectId styleId,
ObjectId alignmentId,
double increment
)
Public Shared Function CreateMajor (
styleId As ObjectId,
alignmentId As ObjectId,
increment As Double
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the styleId or alignmentId is invalid.
|
See Also