GetAvailableLabelIds Method

Gets an ObjectIdCollection of all PressureFittingSectionLabels for the specified PressureFitting.

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

Syntax

C#

public static ObjectIdCollection GetAvailableLabelIds(
	ObjectId sectionViewId,
	ObjectId fittingId,
	ObjectId sectionNetworkId
)

Visual Basic

Public Shared Function GetAvailableLabelIds ( _
	sectionViewId As ObjectId, _
	fittingId As ObjectId, _
	sectionNetworkId As ObjectId _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelIds(
	ObjectId sectionViewId, 
	ObjectId fittingId, 
	ObjectId sectionNetworkId
)

Parameters

sectionViewId
Type: ObjectId
The ObjectId of the SectionView in which the label is located.
fittingId
Type: ObjectId
The ObjectId of PressureFitting that is one of the sources of a SectionPressurePipeNetwork.
sectionNetworkId
Type: ObjectId
The ObjectId of a SectionPressurePipeNetwork.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  • The sectionViewId, fittingId or sectionNetworkId is invalid.
  • The SectionPressurePipeNetwork is not in the SectionView.
  • The PressureFitting is not the source of the SectionPressurePipeNetwork.

See Also