Share

PressurePipe.ConnectToPipe Method

Connects the pipe to another pipe at specified connection ports.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280

Syntax

C#

public override sealed void ConnectToPipe(
	int portIndex,
	ObjectId pipeId,
	int pipePortIndex
)

VB

Public Overrides NotOverridable Sub ConnectToPipe ( 
	portIndex As Integer,
	pipeId As ObjectId,
	pipePortIndex As Integer
)

C++

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.

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

Reference

Was this information helpful?