When running the following python script in Rhino 7 I can see the progress bar update but not In Rhino 8? Can anyone confirm?
import rhinoscriptsyntax as rs
rs.StatusBarProgressMeterShow("Progress", 0, 100000)
data = []
for i in range(0,100000):
data.append(i**2)
rs.StatusBarProgressMeterUpdate(i)
rs.StatusBarProgressMeterHide()
Call RhinoApp.Wait() after updating the progress bar to force UI to update:
import rhinoscriptsyntax as rs
from Rhino import RhinoApp
MAX = 1000
rs.StatusBarProgressMeterShow("Progress", 0, MAX)
for i in range(0, MAX):
rs.StatusBarProgressMeterUpdate(i)
RhinoApp.Wait()
rs.StatusBarProgressMeterHide()
I’ll look into making this automatic so it works like before
RH-81996 rs.StatusBarProgressMeterHide needs RhinoApp.Wait() in Rhino 8