Ok, so here's where I am right now. I found a piece of code that looks like it'll recursively go through the existing directory structure of a given folder and collect up all the max files. I'm trying to integrate it with the multires removal code but it just ends up falling apart. thePath = getSavePath() --get a path…
http://tech-artists.org/forum/showthread.php?p=1831#post1831 There you go. That should get you over your design hurdles and technical workarounds- the rest of the work is coming up with the actual code, but it is not difficult and it will be a good learning experience.
Your code can be simplified to:fn Cleen_MultiRes =( for o in objects do ( while o.modifiers[#Multires] != undefined do deleteModifier o o.modifiers[#Multires] ))Cleen_MultiRes() That will delete all Multires on all objects in your scene.
humm that will cause some issues. I'm not sure switching to quitemode will get you past the problem. You might have better luck updating the bitmap paths. Might come in handy to update automate the path update anyway. I guess if you have to set it back you can temporarily update them and set it back...…
Ahh in that case, it gets difficult. The reason I don't think it will work is because quite mode is very specific to what triggers the error. In this case I don't think quitemode has an option for export (you're exorting right?), but the render "missingExtFilesAction:" might work, but I doubt it because its not triggered…