PlumbingUtils.ConnectPipePlaceholdersAtTee
Description:
Connects two placeholders that looks like Tee connection.
Connects two placeholders that looks like Tee connection.
Remarks:
The second placeholder must have physically connection with the first one. If connection fails, the placeholders cannot be physically connected.
The second placeholder must have physically connection with the first one. If connection fails, the placeholders cannot be physically connected.
Overloads (2):
ConnectPipePlaceholdersAtTee(Document,ElementId,ElementId)
-
documentThe document.
-
placeholder1IdThe first element Id of pipe placeholder.
-
placeholder2IdThe second element Id of pipe placeholder which connects to first.
Return Value
bool
True if connection succeeds, false otherwise.
-
The element id placeholder1Id is not pipe placeholder. -or- The element id placeholder2Id is not pipe placeholder. -or- The elements belong to different types of system. -or- The curve placeholder2Id does not connect on the curve placeholder1Id or vice versa.
-
A non-optional argument was NULL