| Revit 2018 API |
| Material..::..ClearMaterialAspect Method |
| Material Class See Also |
Removes an aspect from the material.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Syntax
| C# |
|---|
public void ClearMaterialAspect( MaterialAspect aspect ) |
| Visual Basic |
|---|
Public Sub ClearMaterialAspect ( _ aspect As MaterialAspect _ ) |
| Visual C++ |
|---|
public: void ClearMaterialAspect( MaterialAspect aspect ) |
Parameters
- aspect
- Type: Autodesk.Revit.DB..::..MaterialAspect
The material aspect.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |