Share

MechanicalUtils Class

General utility methods in the Autodesk Revit MEP product.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Mechanical.MechanicalUtils


Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static class MechanicalUtils

The MechanicalUtils type exposes the following members.

Methods

 NameDescription
Public methodStatic memberBreakCurve Breaks the duct curve into two parts at the given position.
Public methodStatic memberConnectAirTerminalOnDuct Connects an air terminal to a duct directly (without the need for a tee or takeoff).
Public methodStatic memberConnectDuctPlaceholdersAtCross(Document, ElementId, ElementId) Connects a pair of placeholders that can intersect in a Cross connection.
Public methodStatic memberConnectDuctPlaceholdersAtCross(Document, ElementId, ElementId, ElementId) Connects a trio of placeholders that can intersect in a Cross connection.
Public methodStatic memberConnectDuctPlaceholdersAtCross(Document, Connector, Connector, Connector, Connector) Connects a group of placeholders that can intersect in a Cross connection.
Public methodStatic memberCode exampleConnectDuctPlaceholdersAtElbow(Document, Connector, Connector) Connects a pair of placeholders that can intersect in an Elbow connection.
Public methodStatic memberConnectDuctPlaceholdersAtElbow(Document, ElementId, ElementId) Connects a pair of placeholders that can intersect in an Elbow connection.
Public methodStatic memberConnectDuctPlaceholdersAtTee(Document, ElementId, ElementId) Connects a pair of placeholders that can intersect in a Tee connection.
Public methodStatic memberConnectDuctPlaceholdersAtTee(Document, Connector, Connector, Connector) Connects a trio of placeholders that can intersect in a Tee connection.
Public methodStatic memberConvertDuctPlaceholders Converts a collection of duct placeholder elements into duct elements.

See Also

Reference

Was this information helpful?