Create Method (ObjectId, ObjectId)

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.3.1717.0

Syntax

C#

public static ObjectId Create(
	ObjectId sectionViewId,
	ObjectId sectionId
)

Visual Basic

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

Visual C++

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

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.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the sectionViewId or sectionId is invalid.

See Also