PDA

View Full Version : Multiple Batch Render Scripts


lokm
05-07-2008, 09:54 PM
Is there a way to specific more than one script for XSI Batch?
I tried seperating the paths by semi-colons, commas, etc, and using different combo of args. However, that didn't work.

ERROR - Flag defined multiple times: 'script'

It would be great if I could run scripts with different languages too.... like executing VBS, then PYS.


EDIT:// More questions!
"An alternative to auxiliary data is the scene TOC file. One difference is that scene TOC data is specific to individual scenes, while auxiliary data applies to any scene. For more information about scene TOC files, see Getting and Setting Scene Data with the Scene TOC (http://community.softimage.com/scenes_GettingandSettingSceneDatawiththeSceneTOC.h tm#Rbc20365)."
Issues:
1. XSIBatch doesn't seem to load the TOC (.scntoc) file...
2. Auxiliary doesn't accept scripting commands

So... how do you implement multiple scripts during batch rendering?

kim aldis
05-10-2008, 03:08 AM
There's two approaches to this; If you really do want to run separate scripts then use a batch file with an xsibatch line for each script. Otherwise combine the scripts into one. I'd place each piece of script code into a function to make it easier to work with.


If you're rendering you could try this to generate a .bat file. You may be able to hack it about for scipts too:

http://kim-aldis.co.uk/drupal-6.1/node/11

and this to queue it up and render. This should also work with xsibatch -script.

http://kim-aldis.co.uk/drupal-6.1/node/19

I've not used the batchmaker for a while, check it out on later XSI releases before going into production with it. If you do get problems, shout back and I'll iron out any wrinkles.