GasViscosity Property


The gas viscosity of the asset.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.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

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: The given value for gasViscosity must be non-negative.
Autodesk.Revit.Exceptions InapplicableDataException When setting this property: the asset must be gas to set this property.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →