PressurePipeConnectToPipe Method |
Connects the pipe to another pipe at specified connection ports.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntaxpublic override sealed void ConnectToPipe(
int portIndex,
ObjectId pipeId,
int pipePortIndex
)
Public Overrides NotOverridable Sub ConnectToPipe (
portIndex As Integer,
pipeId As ObjectId,
pipePortIndex As Integer
)
public:
virtual void ConnectToPipe(
int portIndex,
ObjectId pipeId,
int pipePortIndex
) override sealed
Parameters
- portIndex Int32
- The connection port index of the pipe.
- pipeId ObjectId
- The object id of a pipe that is Autodesk.Civil.DatabaseServices.PressurePipe.
- pipePortIndex Int32
- The connection port index of another pipe.
ExceptionsException | 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