Share

FailuresAccessor.DeleteAllWarnings Method

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


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

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

Reference

Was this information helpful?