GasViscosity Property


The gas viscosity of the asset.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2013

Syntax

C#
public double GasViscosity { get; set; }
Visual Basic
Public Property GasViscosity As Double
	Get
	Set
Visual C++
public:
property double GasViscosity {
	double get ();
	void set (double value);
}

Remarks

Values are in kilograms per feet-second (kg/(ft · s)) and must be non-negative.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The given value for gasViscosity must be non-negative.
Autodesk.Revit.ExceptionsInapplicableDataException When setting this property: the asset must be gas to set this property.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →