FailuresAccessor.DeleteAllWarnings Method

FailuresAccessorDeleteAllWarnings Method

Deletes all FailureMessages of severity "Warning" currently posted in a document.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void DeleteAllWarnings()
Public Sub DeleteAllWarnings
public:
void DeleteAllWarnings()
member DeleteAllWarnings : unit -> unit 
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