Share

SectionGradeBreakLabelGroup.Create(ObjectId, ObjectId) Method

Creates a new instance of a SectionGradeBreakLabelGroup 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.280

Syntax

C#

public static ObjectId Create(
	ObjectId sectionViewId,
	ObjectId sectionId
)

VB

Public Shared Function Create ( 
	sectionViewId As ObjectId,
	sectionId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId sectionViewId, 
	ObjectId sectionId
)

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.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the sectionViewId or sectionId is invalid.

See Also

Reference

Was this information helpful?