you could just throw this into the "after each frame" knob in thee Write node's "Python" tab:

nuke.thisNode()['disable'].setValue( True )

It will get triggered after the first frame is finished, so this Write node will ever only write the first frame of the requested render range.



On 3/15/12 6:49 AM, Toki Wartooth wrote:
Hi..

Trying to create a before render callback that renders 1 frame of a write node and then ideally disables said write node. Can someone steer me in the right direction? Just getting around to try and learn python.

Cheers..


_______________________________________________
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

Reply via email to