Hi,
I’m displaying progress info during some long running commands, but the label supplied to StatusBarProgressMeterShow
is not displayed anywhere.
import time
import rhinoscriptsyntax as rs
__commandname__ = "MyCmdName"
def RunCommand(is_interactive):
my_list = list(range(10))
rs.StatusBarProgressMeterShow("FooBar", 0, len(my_list))
for idx, _foo in enumerate(my_list):
rs.StatusBarProgressMeterUpdate(idx)
rs.Redraw()
time.sleep(1)
rs.StatusBarProgressMeterHide()
I would expect FooBar
to be displayed with the progress bar, but instead see MyCmdName
.
Best,