GetAvailableLabelIds Method

Gets an ObjectIdCollection of the PressureFittingProfileLabel on the specified ProfileView.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.208.0

Syntax

C#

public static ObjectIdCollection GetAvailableLabelIds(
	ObjectId profileViewPartId,
	ObjectId profileViewId
)

Visual Basic

Public Shared Function GetAvailableLabelIds ( _
	profileViewPartId As ObjectId, _
	profileViewId As ObjectId _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelIds(
	ObjectId profileViewPartId, 
	ObjectId profileViewId
)

Parameters

profileViewPartId
Type: ObjectId
The ObjectId of a ProfileViewPart on which the label is located.
profileViewId
Type: ObjectId
The ObjectId of a ProfileView.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  • The profileViewPartId or profileViewId is invalid.
  • The ProfileViewPart is not a Pressure Fitting.
  • The ProfileViewPart is not in the ProfileView.

See Also