Thanks for the help. I ended up doing it (in Maya) via a scriptNode
Know if there is a Maya equivalent?
Awesome… I will look into this Thanks.
Hmmmm In writing this I just thought to myself, why dont I make the batch exporter do something like if in same dir maxscript name == current maxfile…
Thanks Gravey, Bouncing between languages makes for silly mistakes.
Thanks for the advice. What is it exactly that you detest about modifying the cui file?
So I’ve learnt I’m doing it the wrong way. And the correct way of making a toolbar of macroscripts?
Thanks for the help everyone. I went with the enumerateFiles which proved to be a very simple way to do it.
Ah did it. for i in sceneMaterials do ( bitmapName = getClassInstances BitmapTexture for Bmap in bitmapName do (sPath = getFilenamePath sFilename) ) …