GetAvailableLabelIds Method

Gets an ObjectIdCollection of all PressureAppurtenanceSectionLabels for the specified PressureAppurtenance.

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

Syntax

C#

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

Visual Basic

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

Visual C++

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

Parameters

sectionViewId
Type: ObjectId
The ObjectId of the SectionView in which the label is located.
appurtenanceId
Type: ObjectId
The ObjectId of PressureAppurtenance 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, appurtenanceId or sectionNetworkId is invalid.
  • The SectionPressurePipeNetwork is not in the SectionView.
  • The PressureAppurtenance is not the source of the SectionPressurePipeNetwork.

See Also