Author Topic: Submitting jobs from Nuke  (Read 12994 times)

bijuramavfx

  • Sr. Member
  • ****
  • Posts: 40
Submitting jobs from Nuke
« on: August 15, 2012, 05:38:10 PM »
Hi there:

I am trying to figure out how does Nuke menu gets create to submit renders on the farm. I looked around and found that there is a function call install() in nuke_cmdline.py which create a qube_menu.py in the home directory. Now I don't when does this function gets called and where in Nuke its mentioned to load this file in order create the Qube submission menu ..?

Thanks
/Biju

BrianK

  • Hero Member
  • *****
  • Posts: 107
Re: Submitting jobs from Nuke
« Reply #1 on: August 15, 2012, 05:42:51 PM »
The install() method in the simplecmd gets called when a user goes to File > Install AppUI (from Qube).  The install method is different for every app from which we provide in-app submission systems.  For nuke, it dumps a python script into ~/.nuke/qubemenu.py.  Nuke sources files in this path as part of its normal operation & in doing so, creates a pull-down menu in its own UI.

bijuramavfx

  • Sr. Member
  • ****
  • Posts: 40
Re: Submitting jobs from Nuke
« Reply #2 on: August 15, 2012, 07:17:57 PM »
Hello Brain:
Thanks for the info. But there is something weird going on here - even though I don't have any files in ~/.nuke directory, I still have menu showing up in Nuke ..?

thanks
/Biju

BrianK

  • Hero Member
  • *****
  • Posts: 107
Re: Submitting jobs from Nuke
« Reply #3 on: August 16, 2012, 12:52:08 AM »
Click on the File > Install AppUI > Install 'Nuke (cmdline)' AppUI & watch the log pane.  That will show you were the file is being placed.