Connects the pipe/fitting/appurtenance to a specified pipe at specified connection ports.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280
Syntax
C#
public abstract void ConnectToPipe( int portIndex, ObjectId pipeId, int pipePortIndex )
VB
Public MustOverride Sub ConnectToPipe ( portIndex As Integer, pipeId As ObjectId, pipePortIndex As Integer )
C++
public: virtual void ConnectToPipe( int portIndex, ObjectId pipeId, int pipePortIndex ) abstract
Parameters
- portIndex Int32
- The connection port index of the pipe/fitting/appurtenance.
- pipeId ObjectId
- The object id of a pipe that is Autodesk.Civil.DatabaseServices.PressurePipe.
- pipePortIndex Int32
- The connection port index of the pipe.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when:
|
[!:System.InvalidOperationException] | Thrown when the pipe is shorter than the Engagement Length of the pipe/fitting/appurtenance connection port. |