Recompute Grasshopper Active Canvas in Rhino Inside Revit

Hi Everyone,

I am trying to understand what is the best method to recompute the Grasshopper Active Canvas iteratively while running Rhino.Inside Revit?
I have been calling Grasshopper.Instances.ActiveCanvas.Document.NewSolution(false) after each iteration and it was working just fine (it is still working fine in Rhino/GH alone), but recently it appears that there have been some updates in Rhino.Inside that this method is not effective anymore while running Rhino/GH Inside Revit.
Any thoughts?

Many thanks

Hi @milad.showkatbakhsh,

Can you share some code?
From were are you calling NewSolution?