Share

Frequently Asked Questions

Why don't the Warning check results match what is in the Revit UI?

Prior to 2018, there was no way to access the Warnings information from the Revit UI in the Revit API. A tool exclusive to the API called the Performance Adviser was being used to collect items. While never an exact match, the developers found this to be comparable to the list of warnings in the Revit UI.

In 2018, the Revit API made Warnings information available to programmers. Checks since then should match.

Why doesn't the Unused Element check results match what is in the Revit UI Purge Unused?

There is no direct way to access the Purge Unused list from the Revit UI in the Revit API. The Model Checker, like all Revit add-ins need to collect the data in their own fashion. With this in mind, the two numbers will never be identical but should be close. The Model Checker has a series of rules that it uses to determine if an element is being used in the Revit model, then reports that number in the Model Checker report.

I am using the File Name Pre-Built check. I have tested my regular expression but my check keeps reporting incorrectly.

The regular expression in the File Name Pattern should NOT include any refernce to the model file extension. So, ".rvt" or ".RVT" would cause inaccurate results.

Was this information helpful?