Share

PressurePipe.GetConnectedStructureIdAt Method

Gets the object id of connected structure at specified connection port.



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

Syntax

C#

public ObjectId GetConnectedStructureIdAt(
	int portIndex
)

VB

Public Function GetConnectedStructureIdAt ( 
	portIndex As Integer
) As ObjectId

C++

public:
ObjectId GetConnectedStructureIdAt(
	int portIndex
)

Parameters

portIndex  Int32
The connection port index of pipe. 0 is the start, 1 is the end.

Return Value

ObjectId
The object id of connected structure that is Autodesk.Civil.DatabaseServices.Structure.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the connection port index is out of range.

Remarks

It will return ObjectId.Null if there is no connected structure at the specified connection port.

See Also

Reference

Was this information helpful?