SizingOptions Class

Contains the options for MEP sizing parameters, such as profile type, material roughness, fluid density and viscosity, minimal and maximal sizes, and etc.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.AnalysisSizingOptions

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

The SizingOptions type exposes the following members.

Constructors
 NameDescription
Public methodSizingOptions Constructs a new instance of the SizingOptions with default parameters.
Public methodSizingOptions(Element) Constructs a new instance of the SizingOptions with specified parameters.
Public methodSizingOptions(SizingOptions) Constructs a new copy of the SizingOptions object.
Top
Properties
 NameDescription
Public propertyArea The area of the specified sizing profile and dimension.
Public propertyDensity The air or fluid density in kg/ft^3, defaults to the dry air density at 20ºC.
Public propertyDiameter The diameter of round duct or pipe in feet.
Public propertyDomainType The domain type of the options, such as HVAC or Plumbing.
Public propertyHeight The height of the duct or pipe in feet.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMaxSize The maximal size in feet, defaults to 2 feet.
Public propertyMinSize The minimal size in feet, defaults to 0.041666 ft (0.5 inch).
Public propertyProfileType The profile type of the options, such as round, rectangular or oval.
Public propertyRoughness The material roughness in ft, defaults to 0.0003 ft.
Public propertyViscosity The air or fluid viscosity in kg/(ft*s), defaults to the air dynamic viscosity at 20ºC.
Public propertyWidth The width of the duct or pipe in feet.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the SizingOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsValid Checks if the options are valid and ready for sizing operation.
Public methodSetEquivalentHeight Sets the equivalent height based on the specified width.
Public methodSetEquivalentWidth Sets the equivalent width based on the specified height.
Public methodSetNextAvailableSize(Double, ISetMEPSize) Sets the next available size based on the specified inner diameter.
Public methodSetNextAvailableSize(ConnectorProfileType, Double, Double, ISetMEPSize) Sets the next available size based on the specified inner diameter.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also