SectionLabelGroupGetAvailableLabelGroupIds Method

Returns an ObjectIdCollection of labels on the profile of a specified type.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectIdCollection GetAvailableLabelGroupIds(
	Type labelGroupClassType,
	ObjectId sectionViewId,
	ObjectId sectionId,
	bool includeDerived
)

Parameters

labelGroupClassType  Type
The type of the label group class.
sectionViewId  ObjectId
The ObjectId of the SectionView where the label groups are located.
sectionId  ObjectId
The ObjectId of the Section where the label groups are located.
includeDerived  Boolean
Indicates whether to include the derived types of the specified type.

Return Value

ObjectIdCollection
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  • The classType is not the type or derived type of SectionLabelGroup.
  • The sectionViewId or sectionId is invalid.
See Also