PressurePipeConnectToPipe Method

Connects the pipe to another pipe at specified connection ports.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntax
public override sealed void ConnectToPipe(
	int portIndex,
	ObjectId pipeId,
	int pipePortIndex
)

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.
Exceptions
ExceptionCondition
[!: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