| Revit 2022.1 API |
| Segment..::..Roughness Property |
| Segment Class See Also |
The roughness value for given material.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2013
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..::..DisabledDisciplineException | When setting this property: None of the following disciplines is enabled: Mechanical Electrical Piping. |