Hi,
I've created a script which basically just changes the file format and at
the end I want the script to render the new file:
r = nuke.createNode("Read")
r["file"].setValue("//10.10.10.100/prod/proj15/nuke/render/script3/script3_write2.0009.jpg")print
"Read node:", r["file"].value()
w = nuke.createNode("Write")
w["file"].setValue("C:/tmp/script3_write2.0009.png")print "Write
node:", w["file"].value()
nuke.executeInMainThread(nuke.execute, args=w, kwargs={"continueOnError":False})
And I execute the script like this:
Nuke9.0.exe -V -t c:/tmp/myScript.py
...but the script doesn't seem to manage to execute the render. When I copy
paste the code inside of Nuke I can see that all nodes are being created
fine but the render doesn't execute.
Any ideas?
Regards,
Fredrik
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python