Script help request, problem with updating progress bar...

Looking for some help on this one, wondering if anyone has run into this.
I’ve got a script with a fairly lengthy run time so I’ve added in the progress bar, and keep it updated as we loop through all the geometry in the scene. The script is parsing out by name all of the objects that were imported from Sketchup and merging in and replacing them with 3dsmax objects from our library.

Problem is that the progress bar update keeps flagging the cancel button and I’m getting a bunch of pop ups that say are you sure you want to cancel?? I never hit cancel.... and no there’s nothing leaning on the ESC key....
I really want to have the progress bar active because the script on a full scene takes about a minute to run.
any ideas?

thx /bk

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
MKlejnowski's picture

Example?

Do you have some code for an example?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.