Re: [Nuke-users] create read node based on menu choice

2017-03-13 Thread Frank Rueter|OHUfx
if you use tcl (stuff inside and including the square brackets) inside a file path in Nuke, it will be calculated on the fly. So you can use python to construct a file path which includes a valid tcl command, then assign the lot via python. Nuke will then carry on doing what it does anyway,

Re: [Nuke-users] create read node based on menu choice

2017-03-12 Thread Darren Coombes
Thanks Frank, this would be for a tcl script button i'm assuming? what if the button was a python button? Check out some of my work... www.vimeo.com/darrencoombes Mob: +61 418 631 079 Skype: darrencoombes Twitter: @durwood81 On Mar 13, 2017, at 03:02 PM, Frank Rueter|OHUfx

Re: [Nuke-users] create read node based on menu choice

2017-03-12 Thread Frank Rueter|OHUfx
Sure. Just use something like this to generate your Read node: path/to/file/*[value NoOp1.whichsheet]*/*[value NoOp1.chooseread]* On 13/03/17 4:16 pm, Darren Coombes wrote: Thanks Frank, that lind of works for what i'm trying to do.. here's what i'm trying to do, im simpler form (all

Re: [Nuke-users] create read node based on menu choice

2017-03-12 Thread Darren Coombes
Thanks Frank, that lind of works for what i'm trying to do.. here's what i'm trying to do, im simpler form (all made on no-op). essentially, i've got a bunch of elements, then trying to select the parent directory of certain elements, then select the filename and then finally, read in said

Re: [Nuke-users] create read node based on menu choice

2017-03-12 Thread Frank Rueter|OHUfx
Try something like /home/darren/Pictures/[value myDropDownList] On 13/03/17 1:20 pm, Darren Coombes wrote: if i want to create a read node based on what is selected in a pulldown menu, how would i do that? say my menu has the following two files listed.. aura_green.png bluesky.png redball.png

[Nuke-users] create read node based on menu choice

2017-03-12 Thread Darren Coombes
if i want to create a read node based on what is selected in a pulldown menu, how would i do that? say my menu has the following two files listed.. aura_green.png bluesky.png redball.png i can create a read by adding.. nuke.nodes.Read(file="/home/darren/Pictures/aura_green.png") which only