Identifies if the input roughness is valid.
Namespace: Autodesk.Revit.DB.MechanicalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
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
Reference