FailuresAccessorDeleteAllWarnings Method

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)
Syntax
public void DeleteAllWarnings()
Exceptions
ExceptionCondition
InvalidOperationException This FailuresAccessor is inactive (is used outside of failures processing).
Remarks
Warnings are deleted immediately and will not be accessible by any further failures processing. Any accessors for these failure messages become invalid.
See Also