SectionLabelGroupGetAvailableLabelGroupIds Method |
Returns an ObjectIdCollection of labels on the profile of a specified type.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectIdCollection GetAvailableLabelGroupIds(
Type labelGroupClassType,
ObjectId sectionViewId,
ObjectId sectionId,
bool includeDerived
)
Public Shared Function GetAvailableLabelGroupIds (
labelGroupClassType As Type,
sectionViewId As ObjectId,
sectionId As ObjectId,
includeDerived As Boolean
) As ObjectIdCollection
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The classType is not the type or derived type of SectionLabelGroup.
- The sectionViewId or sectionId is invalid.
|
See Also