[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 
Sent: Tuesday, September 29, 2015 12:30 PM
To: Nuke Python discussion 
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

Reply via email to