Notifications
Clear all

[Closed] Force Dialog update?

Is there anyway for force a dialog update or its elements to update. I have a script that provides feedback during a long process. But it doesnt update as max viewport becomes inactive during the process.

Thanks

4 Replies

Are you talking about getting callback (select an appropriate callback from maxscript ref) from viewport to call a function which can update the specified rollout? You can access that rollout using rollout name and ui element name like myrollout.myspinner.value = $Sphere01.radius

No, what i mean. As an example.

Im doing lots of render passes. When the script is operating and doing its render passes I have a feeback section on my UI. However the problem is that when doing render stuff any window that opens ontop of the max window is still displayed, even if you close that window.

You know the effect hen ou drag a window across the viewport and it leaves a trail of the window?

Anyway, ive noticed the maxscript listner in the bottom left always updates, is it possible for me to force the feedback section of my UI to update in the same way, clearing that section of the screen?

I’d be interested in seeing a solution for this, as I have a very similar problem with updating a timer in a max7 multi-pass dialog.

Hi,

Did you look at “Refreshing the Viewports” in MAXScript Reference and in “How To Make It Faster?” at “Disable Viewport Redraws when making changes to scene objects” ?
The functions disableSceneRedraw()/enableSceneRedraw() can help you.