I am running into some issues with the state of a
GH_Document after running
GH_Document.NewSolution on a separate thread and then aborting that thread while the solution is being computed. What’s the recommended way to reset the status of the GH_Document such that the next call to
GH_Document.NewSolution will compute a fresh solution?
expireAllObjects parameter of
GH_Document.NewSolution doesn’t do the trick, neither does calling
After aborting the thread the value of
Is aborting the thread a bad idea in general, and is there a better way to abort the computation of a new solution immediately?