No idea if it'll be any different, but using createNode argument like
that to set "file" is the old way of doing things - might be more
reliable like this:
f = nuke.getClipname("Select clip")
r = nuke.createNode("Read", inpanel=False)
r['file'].fromUserText(f)
On 17/10/13 23:46, Vincent Langer wrote:
Hi there,
I did a little script for updating renderpasses.
using
nuke.getClipname()
and then using:
nuke.createNode("Read", "file {"+f+"}", inpanel = False)
this works great for sequences but when I want to add single frames it
does not work - is there a trick?
thanks,
vincent
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
ben dickson
2D TD | ben.dick...@rsp.com.au
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python