I have several grade nodes inside a tree and I want to select one by name and return back its control values.
I've tried to add a variable to the grade and print the controls, but no luck selecting it inside the tree
for i in range (g.getNumKnobs()):
print g.knob (i).name()
If the node is inside a Group, then you need to start your code telling nuke to look inside rather than at the root.
You can do this:
or, if you have more code you'd like to to do inside that node: