Author Topic: Sumbitting an XSI job without going through Qube GUI  (Read 8447 times)

mdonovan

  • Full Member
  • ***
  • Posts: 19
Sumbitting an XSI job without going through Qube GUI
« on: September 09, 2009, 02:55:12 PM »
Hi,

I am a technical director at Smoke and Mirrors. I have already written a job submission script (python) and interface for a competing product to Qube. I would like to use my existing code to submit my jobs to the Qube manager from within XSI. This will allow us to move to Qube without the artists having to learn anything new.

I really dont want them to ever see the simple command window at all.

Just thought I would get a head start here before diving into the tech manuals.

Thanks

Michael.

shinya

  • Administrator
  • *****
  • Posts: 232
Re: Sumbitting an XSI job without going through Qube GUI
« Reply #1 on: September 09, 2009, 09:01:03 PM »
Hi Michael,

Thanks for your inquiry.  Yes, you should be able to use the Qube python API
from XSI to create a dialog, as well as submit jobs from within Qube.

Have a look at our xsi jobtype, as well as the Python API doc and the
Development.pdf doc.  The QubeGUI python source code should be
pretty handy too, in learning the API.


Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Re: Sumbitting an XSI job without going through Qube GUI
« Reply #2 on: September 09, 2009, 11:41:19 PM »
In-app Submission through QubeGUI interface:
Submitting through the QubeGUI as done with the XSI BatchRender (see the simplecmds/xsibatch.py submission interface with the embedded submission script) can also be used to populate the submission fields.  To not see a GUI interface at all, one will be able to in the next release to specify the "--nogui" flag when calling the QubeGUI submission via commandline to have it submit without bringing up the dialog.

In-app Submissino with the Python API:
Also see the simplecmds/xsibatch.py submission interface with the embedded submission script for an example.   Then you can use the standard python qb.submit() call.