Connects three placeholders that looks like Tee connection.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool ConnectPipePlaceholdersAtTee( Document document, Connector connector1, Connector connector2, Connector connector3 )
Parameters
- document Document
- The document.
- connector1 Connector
- The first end connector of placeholder to be connected to the second.
- connector2 Connector
- The second end connector of placeholder to be connected to the first.
- connector3 Connector
- The third end connector of placeholder to be connected to the first or second.
Return Value
BooleanTrue if connection succeeds, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The owner of connector is not pipe 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. |
ArgumentNullException | A non-optional argument was null |