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?
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?