In fact for TCL use "knob" instead of "value" in this case. Since there will be no need to evaluate the node's name which is merely a string.
*TCL* [knob this.input0.name] [knob this.input1.name] cheers, Diogo On Tue, Sep 10, 2013 at 3:41 AM, Diogo Girondi <[email protected]>wrote: > *Python:* > > [python nuke.thisNode().input(0).name()] > > [python nuke.thisNode().input(1).name()] > > > *TCL* > > [value this.input0.name] > > [value this.input1.name] > > > cheers, > > Diogo > > > On Tue, Sep 10, 2013 at 2:42 AM, aaron barclay > <[email protected]>wrote: > >> Hi, >> >> is it possible to access the name of a nodes input rather then its >> index? In this case I have a group with "Camera" and "Image" as inputs >> and want to know what the names are as I hook them up. >> >> aaron. >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
