what about something like this: def pre_all_frames_rendered(): nuke.tprint("Starting rendering time %d" % nuke.frame())
def post_all_frames_rendered(): nuke.tprint("Finished rendering time %d" % nuke.frame()) def setup_during_init(): if (not(nuke.env["gui"]) and ("addBeforeFrameRender" in dir(nuke))): nuke.addBeforeFrameRender(pre_all_frames_rendered) if (not(nuke.env["gui"]) and ("addAfterFrameRender" in dir(nuke)): nuke.addAfterFrameRender(post_all_frames_rendered) suitably adapted to your queue needs. Kevin -- Kevin Wheatley Head of Software Engineering Head of Colour Management Cinesite VFX Ltd. ---------- This email and any attachments to it are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cinesite VFX Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Warning: The recipient should check this email and any attachments for the presence of viruses. Cinesite VFX Ltd accepts no liability for any damage caused by any virus transmitted via this email. Cinesite VFX Ltd. Registered Office: Medius House, 2 Sheraton Street, London W1F 8BH. Company registration # 08492749 ---------- _______________________________________________ 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