Note: This API is now obsolete.
The kinematic viscosity of air in ft^2/s.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
[ObsoleteAttribute("This property is deprecated in Revit 2025 and may be removed in a later version of Revit. Prefer AirDynamicViscosity instead.")] public double AirViscosity { get; set; }
Property Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: The given value for airKinematicViscosity must be non-negative. |