Notifications
Clear all

[Closed] Force rollout update?

Hey,

So I’ve got this script that does a lot of geometry manipulations, and it has a UI which includes a progressbar. The progressbar is supposed to update while the script is running, and usually it does, but sometimes the UI will “freeze” (stop updating) until the script finishes, meaning my progressbar will freeze as well.

So basically what happens sometimes, is that I’ll run the script, the progressbar will update properly, then about halfway through it freezes and stops updating until the script is done.

Is there anyway to manually refresh a floating dialog, the same way you can do something like redraw the viewports?

1 Reply

Hi, I’m not sure it would really work on progress bars, but you can try updateToolbarButtons(). It works on every interface button, maybe…

  • Enrico