Hello,
 
I am trying to run the import_discreet_lut script which comes with nuke from a
gizmo. On that Gizmo I want the user to click a tcl button. The button creates a
colorlookup and the color lookup loads a predefined lut. The import_discreet
script only works in the context of the colorlookups lut knob, but running from
another node's tcl button does not work. I have found the tcl command "in" which
is supposed to run a command in the context of a knob, but how would I get that
knob? This is what I have so far:
 
ColorLookup
set lookupnode [stack 0]
#missing command here to get the knob
#set lutknob [knob $lookupnode.lut] did not work 
in $lutknob {
    import_discreet_lut
}
 
Cheers
 
Sebastian 
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to