agh nevermind found it on the group__tcl__builtin page with a web search for "dependent_nodes". I SWEAR I checked that page before I asked the first time. ;^p
On Fri, Oct 2, 2015 at 2:59 PM, Den Serras <[email protected]> wrote: > Perfect! How did you find that? Is there a secret cache of TCL commands > that I've missed? > > On Fri, Oct 2, 2015 at 10:45 AM, Nathan Rusch <[email protected]> > wrote: > >> [dependent_nodes -ih this] will get you a TCL list of all of the >> dependent nodes based on input pipes (but not expression links). From >> there, you can index it as needed: >> >> [lindex [dependent_nodes -ih this] 0] >> >> -Nathan >> >> >> *From:* Den Serras <[email protected]> >> *Sent:* Tuesday, September 29, 2015 12:30 PM >> *To:* Nuke Python discussion <[email protected]> >> *Subject:* [Nuke-python] Downstream nodes - via TCL >> >> Hey I need to grab some knob info from a known node downstream of a given >> node. I can use [python >> nuke.thisNode().dependent()[0].dependent()[0].etc()] but I wonder if >> there's a TCL version of this that will go faster without python. TCL >> [value input.input.input.knob] works great and is very fast, I figure there >> must be a similar for down but I can't find it... >> >> Anyone have a trick for this? >> >> Thanks! >> Den >> >> ------------------------------ >> _______________________________________________ >> 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 >> >> >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
