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