Dear Dale,
Thank you again for your patience.
The development team responded further on our prompt for news on the wish list item CF-2116 [API ability to retrieve Revit Warnings like Manage tab--Inquiry pane--Warnings] and suggest:
Here is a proposed API:
in Autodesk::Revit::DB::Document:
/// <summary>
/// Returns list of failure messages representing warnings accumulated in the document
/// </summary>
/// <remarks>
/// Function returns list of failure messages identical to the list displayed in a warning dialog when command
/// Manage tab > Inquiry pane > Warnings is issued through the UI
/// </remarks>
/// <returns>
/// List of failure messages representing warnings accumulated in the document
/// </returns>
/// <since>
/// 2018
/// </since>
System::Collections::Generic::IList<Autodesk::Revit::DB::FailureMessage ^> ^GetWarnings();
In other words, in the next major release of the .NET Revit API, this would appear as a new method
System.Collections.Generic.IList<Autodesk.Revit.DB.FailureMessage>
Autodesk.Revit.DB.Document.GetWarnings();
Will it suffice? Will you be able to test it?
That sounds pretty good to me.
What do you think?
Cheers,
Jeremy