SizingCalculator Class

Calculates the required duct or pipe size based on the specified parameters and constraints.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.AnalysisSizingCalculator

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
 NameDescription
Public methodSizingCalculator Constructs an SizingCalculator instance.
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodCalculateSizeByFriction Calculates the duct or pipe size based on the specified flow and friction.
Public methodCalculateSizeByVelocity Calculates the duct or pipe size based on the specified flow and velocity.
Public methodDisposeReleases all resources used by the SizingCalculator
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEquivalentDiameter Calculates the equivalent diameter based on the specified profile type, width, and height.
Public methodFriction Calculates the friction based on the specified parameters.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodVelocity 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