Share

PressureAppurtenanceSectionLabel.GetAvailableLabelIds Method

Gets an ObjectIdCollection of all PressureAppurtenanceSectionLabels for the specified PressureAppurtenance.



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

Syntax

C#

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

VB

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

C++

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

Parameters

sectionViewId  ObjectId
The ObjectId of the SectionView in which the label is located.
appurtenanceId  ObjectId
The ObjectId of PressureAppurtenance that is one of the sources of a SectionPressurePipeNetwork.
sectionNetworkId  ObjectId
The ObjectId of a SectionPressurePipeNetwork.

Return Value

ObjectIdCollection

Exceptions

ExceptionCondition
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

Reference

Was this information helpful?