Re: [Nuke-python] Custom ReadNode Import Script

2013-10-17 Thread Ben Dickson
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

Re: [Nuke-python] Custom ReadNode Import Script

2013-10-17 Thread Nathan Rusch
What you’re doing should work fine, regardless of whether the browser is in "sequence" mode or not... can you be more specific about how it "does not work"? -Nathan From: Jordan O Sent: Thursday, October 17, 2013 3:06 PM To: Nuke Python discussion Subject: Re: [Nuke-pyt

Re: [Nuke-python] Custom ReadNode Import Script

2013-10-17 Thread Jordan O
Hi Vincent, You're aware that the getClipname() dialog has a checkbox on the bottom for sequences? this alters what gets returned e.g. "V:/path/to/frames/filename..exr 1-85" vs. "V:/path/to/frames/filename.0021.exr" Either scenario works for me? I can't quite replicate your problem. Personal

[Nuke-python] Custom ReadNode Import Script

2013-10-17 Thread Vincent Langer
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 -