Connect this structure to the specified pipe.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public void ConnectToPipe( ObjectId pipeId, ConnectorPositionType positionType ) |
| Visual Basic |
|---|
Public Sub ConnectToPipe ( _ pipeId As ObjectId, _ positionType As ConnectorPositionType _ ) |
| Visual C++ |
|---|
public: void ConnectToPipe( ObjectId pipeId, ConnectorPositionType positionType ) |
Parameters
- pipeId
- Type: ObjectId
The pipe to connect to.
- positionType
- Type: Autodesk.Civil.DatabaseServices..::..ConnectorPositionType
The connector position, either start or end.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Thrown when pipeId's type is not Autodesk.Civil.Pipe. |