ProfileStationLabelGroupCreateMajor Method |
Creates a new instance of a ProfileStationLabelGroup on the Profile in the specified ProfileView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId CreateMajor(
ObjectId profileViewId,
ObjectId profileId,
ObjectId styleId,
double increment
)
Public Shared Function CreateMajor (
profileViewId As ObjectId,
profileId As ObjectId,
styleId As ObjectId,
increment As Double
) As ObjectId
public:
static ObjectId CreateMajor(
ObjectId profileViewId,
ObjectId profileId,
ObjectId styleId,
double increment
)
Parameters
- profileViewId ObjectId
- The ObjectId of the ProfileView in which the label group is located.
- profileId ObjectId
- The ObjectId of the Profile in which the label group is located.
- styleId ObjectId
- The ObjectId of the ProfileStationLabelGroup style to use.
- increment Double
- The increment value at which to insert major and minor station labels.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the profileViewId, profileId or styleId is invalid.
|
See Also