How to add progress bar in script UI?

How to add progress bar in script UI?

Anonymous
Not applicable
455 Views
2 Replies
Message 1 of 3

How to add progress bar in script UI?

Anonymous
Not applicable
I wrote a script I need for my production environment which works great but I'd like to add a progress bar to it so I can see what's going on.

The script basically handles actions that I usually do manually on imported geometry. It basically cleans up the mesh and saves me a lot of time. But on some dense meshes it take a little time and at first I had no way to tell if the script was working or if max just gave up on me and froze. The script is definitely working but I thought it would be nice to add that progress bar interface just to make it more user friendly.

Anyone knows how to do that?
0 Likes
456 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You could use this one which is in the max gui. Quite handy I must say. Just look up the progressBar method in the mxs help and it will show you the rest of the stuff you can do with this one. There's also a progress bar available for rollouts and even one you can access through dotnet. So, alot to choose from. 😃



progressStart "Doing stuffs.."

progressUpdate 50

progressUpdate 75

progressEnd()



BR
MrK
0 Likes
Message 3 of 3

Anonymous
Not applicable
I wrote my own 'floating progress bar' function, mainly because the production artists never seemed to notice the standard one.

Like other rollout dialogs, it does not always update when used in tight loops, however.

14342_HOfPuIn9lX8LMZBGzGo2.zip

0 Likes