SizingCalculator Class


Sizing Calculator Class

Calculates the required duct or pipe size based on the specified parameters and constraints.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.Analysis SizingCalculator

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class SizingCalculator : IDisposable

The SizingCalculator type exposes the following members.

Constructors
Name Description
Public method SizingCalculator Constructs an SizingCalculator instance.
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method CalculateSizeByFriction Calculates the duct or pipe size based on the specified flow and friction.
Public method CalculateSizeByVelocity Calculates the duct or pipe size based on the specified flow and velocity.
Public method Dispose Releases all resources used by the SizingCalculator
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method EquivalentDiameter Calculates the equivalent diameter based on the specified profile type, width, and height.
Public method Friction Calculates the friction based on the specified parameters.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Public method Velocity Calculates the velocity based on the specified parameters.
Top
Remarks
This class calculates duct and pipe sizes based on various constraints such as flow friction, and velocity. Other parameters are often included in SizingOptions. The size result is also stored in the SizingOptions after the calculation.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →