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
ObjectIdThe object id of connected structure that is Autodesk.Civil.DatabaseServices.Structure.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the connection port index is out of range. |