This makes a lot of sense. I have not dealt with nodes this way before. Thanks for the quick introduction and the speedy response.
Many Thanks! -jesse On Thu, Dec 12, 2013 at 6:52 PM, Ben Dickson <[email protected]> wrote: > n = nuke.selectedNode() > n.dependencies(nuke.EXPRESSIONS) > n.dependent(nuke.EXPRESSIONS) # < this one > > Similarly you can do: > > n.dependent(nuke.EXPRESSIONS | nuke.INPUTS | nuke.HIDDEN_INPUTS) > > ..or any combination of those > > On 13/12/13 13:13, Jesse Kretschmer wrote: > > I have a set of nodes. One is a master node and the other nodes are > > linked to the master via an expression attached to a knob. From the > > master node, I would like to query the list of nodes that are > > referencing the master node through expressions. > > > > Is there an easy way to all nodes that have expressions linked to the > > selected node? > > > > I was hoping for something similar to node.dependencies(), but I can't > > find anything. I don't want to be in the business of parsing the > > expressions to discover this relationship. > > > > Thanks, > > jesse > > > > > > > > > > _______________________________________________ > > Nuke-python mailing list > > [email protected], http://forums.thefoundry.co.uk/ > > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > -- > ben dickson > 2D TD | [email protected] > rising sun pictures | www.rsp.com.au > _______________________________________________ > 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
