Creates a new analytical connection between two open connectors.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static MEPAnalyticalConnection Create(
Document doc,
ElementId typeId,
Connector startConnector,
Connector endConnector
)
Parameters
- doc Document
-
The document where the new element is created.
- typeId ElementId
-
The type of new analytical connection.
- startConnector Connector
-
The open connector on the equipment side, whose level is inherited by the analytical connection.
- endConnector Connector
-
The open connector on the network.
Return Value
MEPAnalyticalConnection
The newly created analytical connection element.
Exceptions
See Also
Reference