Deletes all FailureMessages of severity “Warning” currently posted in a document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
public void DeleteAllWarnings()
Exception
Condition
This FailuresAccessor is inactive (is used outside of failures processing).
Warnings are deleted immediately and will not be accessible by any further failures processing. Any accessors for these failure messages become invalid.