PipeConnectToPipe Method

Connect one pipe to another pipe. If needed, disconnect the original one and move the pipe to that pipe for connecting and add a structure.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void ConnectToPipe(
	ConnectorPositionType sourceType,
	ObjectId destinationPipeId,
	ConnectorPositionType destinationType,
	ObjectId structureFamilyId,
	ObjectId structureSizeId,
	ref ObjectId newStructureId,
	bool applyRules,
	bool force
)

Parameters

sourceType  ConnectorPositionType
If start or end point to connect of source pipe.
destinationPipeId  ObjectId
The destination pipe for connection.
destinationType  ConnectorPositionType
If start or end point to connect of destination pipe.
structureFamilyId  ObjectId
Family id of the needed structure.
structureSizeId  ObjectId
Object id of Structure Size.
newStructureId  ObjectId
The new structure id.
applyRules  Boolean
Whether needed to apply the rules.
force  Boolean
Whether force the pipe to disconnect the original connected structure.
See Also