Creates a new instance of a SectionCorridorPointLabelGroup 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 Create( ObjectId sectionViewId, ObjectId sectionId, ObjectId labelGroupStyleId )
VB
Public Shared Function Create ( sectionViewId As ObjectId, sectionId As ObjectId, labelGroupStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId sectionViewId, ObjectId sectionId, ObjectId labelGroupStyleId )
Parameters
- sectionViewId ObjectId
- The ObjectId of the SectionView where the label group is located.
- sectionId ObjectId
- The ObjectId of the Section where the label group is labeling.
- labelGroupStyleId ObjectId
- The ObjectId of the SectionCorridorPointLabelGroup style to use.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the sectionViewId, sectionId or labelGroupStyleId is invalid. |