Revit 2023 API |
DuctLiningType..::..Roughness Property |
DuctLiningType Class See Also |
The roughness of Duct Lining.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2012
Syntax
C# |
---|
public double Roughness { get; set; } |
Visual Basic |
---|
Public Property Roughness As Double Get Set |
Visual C++ |
---|
public: property double Roughness { double get (); void set (double value); } |
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: The roughness value should be at least equal to or larger than 0. |
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | When setting this property: None of the following disciplines is enabled: Mechanical Electrical Piping. |