SubstituteString going too slow ?? any help ??

on Max 2009 32bit.
I'm using substitutestring to change maps paths in a scene that contains about 800 maps.
the reason is that at work we are changing the location of the root folder of the maps.
so here is the process :
1- collecting all bitmaps.
2- looping and substituting the root folder in each file.
I've added a progress bar and it was running very well until it reached around 50% then it became so slow.
slow that I've wrote this post and it only progressed 3% : (
Any Idea ??

Comments

Comment viewing options

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

After a while I had to

After a while I had to terminate Max.
I opened it again
loaded the scene
canceled just one line -- escapeEnable = false -- the progressbar escape
run the script again
it worked fine and fast
-- I don't think think this is the reason.
-- Maybe something is wrong with the machine.

Comment viewing options

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