From the Revit Coaster blog:
Thursday, April 13, 2017
Revit 2018 Export Warnings from Model to Excel
Revit 2018 has added a great new addition to the API that allows you to collect all of the Warnings that exist in the model. Previously, you could only export this list by using the builtin “Export” button in the Warnings dialog, that exported to a HTML file.
The new addition is the following:
IList<FailureMessage> warnings = doc.GetWarnings();
The following macro will export all the warnings in…
Read more