Connects the pipe to another pipe at specified connection ports.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.5.1584.0
Syntax
| C# |
|---|
public override sealed void ConnectToPipe(
int portIndex,
ObjectId pipeId,
int pipePortIndex
) |
| Visual Basic |
|---|
Public Overrides NotOverridable Sub ConnectToPipe ( _
portIndex As Integer, _
pipeId As ObjectId, _
pipePortIndex As Integer _
) |
| Visual C++ |
|---|
public:
virtual void ConnectToPipe(
int portIndex,
ObjectId pipeId,
int pipePortIndex
) override sealed |
Parameters
- portIndex
- Type: System..::..Int32
The connection port index of the pipe.
- pipeId
- Type: ObjectId
The object id of a pipe that is Autodesk.Civil.DatabaseServices.PressurePipe.
- pipePortIndex
- Type: System..::..Int32
The connection port index of another pipe.
Exceptions
| Exception | Condition |
|---|
| [!:System.ArgumentException] |
Thrown when:
- The pipe connection port index is out of range.
- The pipe connection port is not open.
- Another pipe is not from the same network.
- The connection port index of another pipe is out of range.
- The connection port of another pipe is not open.
|
See Also