2020 Method
Changes 0
M

MechanicalUtils.ConnectDuctPlaceholdersAtCross

Description:
Connects a group of placeholders that can intersect in a Cross connection.
Remarks:
The placeholders may or may not have physical connection. However:
  • The ends of four connectors should intersect at same point.
  • The first and second placeholders should be collinear each other.
  • The third and fourth placeholders should be collinear each other.
  • The third and fourth should have intersection with first or second placeholder.
If connection fails, the placeholders cannot be physically connected.
Overloads (3):
ConnectDuctPlaceholdersAtCross(Document,Connector,Connector,Connector,Connector)
public static bool ConnectDuctPlaceholdersAtCross(
	Document document,
	Connector connector1,
	Connector connector2,
	Connector connector3,
	Connector connector4
)
Return Value bool True if connection succeeds, false otherwise.
  • The owner of connector is not duct placeholder. -or- The owners of connectors belong to different types of system. -or- The curves of connector1 and connector2 are not collinear or either the connecto1 or connector2 is not connector of curve end. -or- The curves of connector3 and connector4 are not collinear or either the connecto1 or connector2 is not connector of curve end.
  • A non-optional argument was NULL