Jump to content

Script help, problem with updating progress bar...


BrianKitts
 Share

Recommended Posts

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

Edited by BrianKitts
Link to comment
Share on other sites

Hey Brian,

I don't have a solution to your problem, but get the same cancel error when I run my scripts. my script imports a dwg then does some stuff to the scene, then exports. In my case it only happens when I remote into the machine using Windows Remote Desktop. The machine is using Windows 7. the scripts worked fine before.

 

FWIW I don't have a progress bar in my script, but the progress bar shows up on dwg import by default in my case.

 

This happens constantly when I open up two instances of max and run the scripts.

 

What version of Max and windows are you using? I am using Windows 7 64 bit and Max 2010 64 bit.

Edited by molson
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...