IsValidRoughness Method


Duct Lining Type Is Valid Roughness Method

Identifies if the input roughness is valid.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValidRoughness(
	double roughness
)

Parameters

roughness Double
The roughness to check.

Return Value

Boolean
True if the value is acceptable, false otherwise.
Remarks
Roughness should be at least equal to or larger than 0.
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 →