Skip to content

MechanicalUtils

Public 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: 25.0.0.0 (25.0.0.0)

Syntax

public static class MechanicalUtils

The MechanicalUtils type exposes the following members.

Methods

Name

Description


Public Method
Static Member
BreakCurve

Breaks the duct curve into two parts at the given position.


Public Method
Static Member
ConnectAirTerminalOnDuct

Connects an air terminal to a duct directly (without the need for a tee or takeoff).


Public Method
Static Member
ConnectDuctPlaceholdersAtCross(Document, ElementId, ElementId)

Connects a pair of placeholders that can intersect in a Cross connection.


Public Method
Static Member
ConnectDuctPlaceholdersAtCross(Document, ElementId, ElementId, ElementId)

Connects a trio of placeholders that can intersect in a Cross connection.


Public Method
Static Member
ConnectDuctPlaceholdersAtCross(Document, Connector, Connector, Connector, Connector)

Connects a group of placeholders that can intersect in a Cross connection.


Public Method
Static Member
Code Example
ConnectDuctPlaceholdersAtElbow(Document, Connector, Connector)

Connects a pair of placeholders that can intersect in an Elbow connection.


Public Method
Static Member
ConnectDuctPlaceholdersAtElbow(Document, ElementId, ElementId)

Connects a pair of placeholders that can intersect in an Elbow connection.


Public Method
Static Member
ConnectDuctPlaceholdersAtTee(Document, ElementId, ElementId)

Connects a pair of placeholders that can intersect in a Tee connection.


Public Method
Static Member
ConnectDuctPlaceholdersAtTee(Document, Connector, Connector, Connector)

Connects a trio of placeholders that can intersect in a Tee connection.


Public Method
Static Member
ConvertDuctPlaceholders

Converts a collection of duct placeholder elements into duct elements.