How do I reference specific nodes in a callback?
I’ve gotten as far as selecting specific nodes but I’m a little confused at how
I’m actually
referencing actual knobs in these nodes. I feel like it should be with a
"nuke.thisNode()” type approach but I can’t seem to get it working.
Is this the right idea?
def CallbackTest():
allNodes = nuke.allNodes(recurseGroups=True)
for n in allNodes:
if "Read" in n.name():
path = “./User/movies/videofile.mov"
nuke.thisNode().knob(‘file').setValue(path)
Thanks!
Michael
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users