Updating Analysis Results

Updating Analysis Results

The Revit analysis framework does not update results automatically, and potentially any change to Revit model can invalidate results.

In order to keep results up to date, API developers should use Dynamic Model Update triggers or subscribe to the DocumentChanged event to be notified when the Revit model has changed and previously calculated results may be invalid and in need of recalculation. For an example showing Dynamic Model Update together with Analysis Visualization, see the DistanceToSurfaces sample in the Revit SDK.