what I am trying to do is write a script that finds all the read nodes above a
selected node in the graph.
so what I figure I have to do is
get the dependencies of a node and loop through testing if they are a read node
and continue recursively
for a in nuke.selectedNode().dependencies():
name = a.name()
for n in name:
select n:
if n.Class() == ?Read?:
but I don't know how to select a node from its name
can someone please help? I will accept any suggestions on how to make this
easier as well!
Thanks
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python