Share

AlignmentLabelGroup.GetAvailableLabelGroups Method

Note: This API is now obsolete.

Returns an ObjectId collection of labels on the alignment of a specified type.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
public static ObjectIdCollection GetAvailableLabelGroups(
	RXClass rxClass,
	ObjectId alignmentId,
	bool includeDerived
)

VB

<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)>
Public Shared Function GetAvailableLabelGroups ( 
	rxClass As RXClass,
	alignmentId As ObjectId,
	includeDerived As Boolean
) As ObjectIdCollection

C++

public:
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
static ObjectIdCollection^ GetAvailableLabelGroups(
	RXClass^ rxClass, 
	ObjectId alignmentId, 
	bool includeDerived
)

Parameters

rxClass  RXClass
Type of the labels.
alignmentId  ObjectId
ObjectId of the alignment where the labels are located.
includeDerived  Boolean
Indicates whether to include the derived types of the specified type.

Return Value

ObjectIdCollection

Exceptions

ExceptionCondition
ArgumentException Thrown when the rxClass or alignmentId is invalid.

See Also

Reference

Was this information helpful?