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.DatabaseServices
Assembly: 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
)

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
Exceptions
ExceptionCondition
ArgumentException Thrown when the profileViewId, profileId or styleId is invalid.
See Also