ProfileStationLabelGroupCreate Method |
Note: This API is now obsolete.
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
Syntax[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.",
false)]
public static ObjectId Create(
ObjectId profileViewId,
ObjectId profileId,
ObjectId styleId,
double increment
)
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.",
false)>
Public Shared Function Create (
profileViewId As ObjectId,
profileId As ObjectId,
styleId As ObjectId,
increment As Double
) As ObjectId
public:
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.",
false)]
static ObjectId Create(
ObjectId profileViewId,
ObjectId profileId,
ObjectId styleId,
double increment
)
Parameters
- profileViewId ObjectId
- The ObjectId of profile view in which the label group is located.
- profileId ObjectId
- The ObjectId of profile in which the label group is located.
- styleId ObjectId
- The ObjectId of ProfileStationLabelGroup style.
- 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