Adding arbitrary arguments to a nuke job

Well, this may be for other stuff too but for now it’s Nuke :slight_smile:

What i want to happen on the farm is that the nuke job gets sent, and of course the script gets loaded but then i want an additional argument to be passed

ex:
nuke.exe -vx myscript.nk /path/to/argumentFile.%04d.exr 1-100

How would I accomplish this?

thanks!

You would have to modify Nuke plugin to hardcode extra paramaters, or add code to dynamically add additional parameters based on settings in the job’s plugin info file. You can take a look at the Nuke.py file in \your\repository\plugins\Nuke to see how we currently build up the argument list to get an idea.

Cheers,

  • Ryan