Creates a new instance of a SectionOffsetLabelGroup on the Section in the specified SectionView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId CreateMajor( ObjectId sectionViewId, ObjectId sectionId, double increment, ObjectId labelStyleId )
VB
Public Shared Function CreateMajor ( sectionViewId As ObjectId, sectionId As ObjectId, increment As Double, labelStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId CreateMajor( ObjectId sectionViewId, ObjectId sectionId, double increment, ObjectId labelStyleId )
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.
- labelStyleId ObjectId
- The ObjectId of the SectionOffsetLabelStyle to use.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|