AWS Thinkbox Discussion Forums

How do you pass arguments to a Nuke ScriptJob's ScriptFilename?

I’m trying to use Deadline’s built in submitters to submit a Nuke ScriptJob. I’m able to supply a ScriptFilename that correctly executes, but I can’t figure out how to pass arguments to this python script.

Any tips?

If anyone comes looking for how to do this, I found passing json through an env var to work well.

1 Like

You could override the Nuke plugin and implement RenderArgument the way you want.
Note that passing large data in env vars might break, I think Windows has a limit on the value length (not sure where I read that)?

Guys, I’m trying to do the same thing and have the same problem.

I’m creating Nuke ScriptJob using python and i need to pass some arguments to ScriptFilename.
Link provided by @mois.moshev doesn’t work anymore and i cannot find anything similar in current documentation.

Another way could be to load job_info_file ale job_plugin_file by Nuke’s scriptjob but firstly i wanna try to pass the arguments.

Any ideas please?

Privacy | Site terms | Cookie preferences