AWS Thinkbox Discussion Forums

Softimage submission that calls a JScript?

Hi guys,

I am trying to use Sajjad Amjad’s Mapify plug-in with Deadline and I’m just not sure how to set it up.

Here’s Sajjad’s instructions for calling it from XSIBatch:

To run mapify through xsibatch, save a scene (e.g. rendermapScene.scn) with the Mapify PPG. Ensure all Mapify settings are valid
Then make a script file (called c:\whatever.js) like:
OpenScene(“C:\3d\myProj\Scenes\rendermapScene.scn”, false, null);
thisRange = “1-6”;
mapifyFarm(thisRange);

Call xsibatch with the -script and -lang switches like:
xsibatch -script c:\whatever.js -lang JScript

I attempted to create a .js as he instructs and put it on my renderfarm server, so the paths were all UNC, but even when trying to call it from the commandline & XSIBatch, it tries to look at the local C: drive.

Mapify generates animated Rendermaps with Mentalray.

What I would like to do is have a modified version of the Softimage Submission script that can call Mapify and will ignore the passes & frames in the Render Manager.

Is that possible?

Thanks,

Paul

Hi Paul,

If you just want to run custom command lines, you can use the Command Script plugin:
thinkboxsoftware.com/deadlin … andscript/

You can send a bunch of commands to Deadline (one per line) and each line is represented by a separate task.

Another option is the Command Line plugin:
thinkboxsoftware.com/deadline-6-commandline/

It’s like the Command Script, except that you can run the same command for each task, but have the frame number swapped as necessary.

Either way, you could basically submit the "xsibatch -script c:\whatever.js -lang JScript " command to Deadline and have it run it directly, rather than going through the Softimage plugin. Would either of these options work for you?

Cheers,
Ryan

Thanks Ryan!

I’m talking with Sajjad about it as well. The problem I was having was Mapify trying to look on the C: drive no matter where the scene file was located.

Running a script from Deadline would be great. I’ll check into it.

Paul

Privacy | Site terms | Cookie preferences