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?

Hi, was there any resolution to this issue? I have the same problem, works perfectly in rhino grasshopper but not when running in rhino.inside

Hi @Philip_STockwell,

Revit allows access to its API only during certain “moments”.

Rhino.Inside synchronize itself with these moments when the Rhino window or any child of it, like Grasshopper, is active.
Rest of the time Grasshopper is dormant waiting to have access to Revit API.

Could you share more details on what you are trying to achieve?