@RIL wrote:
When I automate a slider in Gh I expect the following code to update the screen while I'm watching it. But instead the screen is "locked" while in the loop.
What can I do to allow screenupdate during the loop?
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper") rs.EnableRedraw(True) for abd in range(0, 5, 1): gh.SetSliderValue(slider_y_abd, abd) time.sleep(0.5)
// Rolf
Posts: 11
Participants: 4