Creates a new instance of a SectionGradeBreakLabelGroup on the Section in the specified SectionView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public static ObjectId Create( ObjectId sectionViewId, ObjectId sectionId, ObjectId labelStyleId )
Visual Basic
Public Shared Function Create ( _ sectionViewId As ObjectId, _ sectionId As ObjectId, _ labelStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId sectionViewId, ObjectId sectionId, ObjectId labelStyleId )
Parameters
- sectionViewId
- Type: ObjectId
The ObjectId of SectionView where the label group is located.
- sectionId
- Type: ObjectId
The ObjectId of Section where the label group is labeling.
- labelStyleId
- Type: ObjectId
The ObjectId of a section gradebreak label style to use.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the sectionViewId, sectionId or labelGroupStyleId is invalid. |