Share

Pipe.ConnectToStructure Method

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



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

Syntax

C#

public void ConnectToStructure(
	ConnectorPositionType sourcePosition,
	ObjectId destinationStructureId,
	bool force
)

VB

Public Sub ConnectToStructure ( 
	sourcePosition As ConnectorPositionType,
	destinationStructureId As ObjectId,
	force As Boolean
)

C++

public:
void ConnectToStructure(
	ConnectorPositionType sourcePosition, 
	ObjectId destinationStructureId, 
	bool force
)

Parameters

sourcePosition  ConnectorPositionType
If start or end point to connect.
destinationStructureId  ObjectId
The destination structure id.
force  Boolean
If force the pipe to disconnect the original connected structure.

See Also

Reference

Was this information helpful?