PDA

View Full Version : Force Dialog update?


Gibbz
10-23-2006, 02:34 AM
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

susanta
10-24-2006, 11:48 AM
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

Gibbz
10-24-2006, 11:53 AM
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?

handiklap
10-24-2006, 02:34 PM
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.

ypuech
10-24-2006, 10:26 PM
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.

CGTalk Moderation
10-24-2006, 10:26 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.