PressurePipeGetConnectedStructureIdAt Method |
Gets the object id of connected structure at specified connection port.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId GetConnectedStructureIdAt(
int portIndex
)
Public Function GetConnectedStructureIdAt (
portIndex As Integer
) As ObjectId
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.
ExceptionsException | Condition |
---|
[!: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