SectionOffsetLabelGroupCreateMajor(ObjectId, ObjectId, Double) Method

Creates a new instance of a SectionOffsetLabelGroup on the Section in the specified SectionView with the default label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId CreateMajor(
	ObjectId sectionViewId,
	ObjectId sectionId,
	double increment
)

Parameters

sectionViewId  ObjectId
The ObjectId of the SectionView in which the label group is located.
sectionId  ObjectId
The ObjectId of the Section in which the label group is labeling.
increment  Double
The increment value at which to insert major offset labels.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  • The sectionViewId or sectionId is invalid.
  • The increment value is less than or equal to 0.
See Also