Gets the object id of connected structure at specified connection port.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.5.1584.0
Syntax
| C# |
|---|
public ObjectId GetConnectedStructureIdAt(
int portIndex
) |
| Visual Basic |
|---|
Public Function GetConnectedStructureIdAt ( _
portIndex As Integer _
) As ObjectId |
| Visual C++ |
|---|
public:
ObjectId GetConnectedStructureIdAt(
int portIndex
) |
Parameters
- portIndex
- Type: System..::..Int32
The connection port index of pipe. 0 is the start, 1 is the end.
Return Value
The object id of connected structure that is Autodesk.Civil.DatabaseServices.Structure.
Remarks
Exceptions
| Exception | Condition |
|---|
| [!:System.ArgumentException] |
Thrown when the connection port index is out of range.
|
See Also