2027 Class
Changes 8
C

SizingCalculator

Description:
Calculates the required duct or pipe size based on the specified parameters and constraints.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Analysis.SizingCalculator
public class SizingCalculator : IDisposable
Name Return Type Description Inherited From
C SizingCalculator(Document) None Constructs an SizingCalculator instance.
Name Return Type Description Inherited From
M CalculateSizeByFriction(Double, Double, SizingOptions) None Calculates the duct or pipe size based on the specified flow and friction.
M CalculateSizeByVelocity(Double, Double, SizingOptions) None Calculates the duct or pipe size based on the specified flow and velocity.
M Dispose() None Releases all resources used by the SizingCalculator
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M EquivalentDiameter(ConnectorProfileType, Double, Double) Double Calculates the equivalent diameter based on the specified profile type, width, and height.
M Friction(Double, SizingOptions) Double Calculates the friction based on the specified parameters.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M Velocity(Double, SizingOptions) Double Calculates the velocity based on the specified parameters.
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.