I think maybe the MatchGrade node is dependent on a knobChanged callback running when the output file knob is changed before it will let the `writelut` knob be executed.

If I replace the .setValue call on the file knob with .fromUserText, it seems to work:

filename = nuke.thisNode()['filename'].value() + '.csp'
mg = nuke.toNode('MatchGrade1')
mg['outfile'].fromUserText(filename)
mg['writelut'].execute()

-Nathan


_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to