Connect one pipe to another structure. If needed, disconnect the original one and move the pipe to that structure for connecting.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public void ConnectToStructure( ConnectorPositionType sourcePosition, ObjectId destinationStructureId, bool force )
Visual Basic
Public Sub ConnectToStructure ( _ sourcePosition As ConnectorPositionType, _ destinationStructureId As ObjectId, _ force As Boolean _ )
Visual C++
public: void ConnectToStructure( ConnectorPositionType sourcePosition, ObjectId destinationStructureId, bool force )
Parameters
- sourcePosition
- Type: Autodesk.Civil.DatabaseServices.ConnectorPositionType
If start or end point to connect.
- destinationStructureId
- Type: ObjectId
The destination structure id.
- force
- Type: System.Boolean
If force the pipe to disconnect the original connected structure.