Autolife automatically sets the lifetime for roto shapes and strokes to their first and last keyframe.
autolife
Updated: 1 March 2013
Author: nofxboy1234
Compatible Nuke versions: 6.2 or later
Compatibility: Linux, Mac, Windows
# Autolife v1.0 # Autolife is based on SetRotoLifetimeAll by Marc Gutowski (http://www.nukepedia.com/python/nodegraph/setrotolifetimeall/)
# Instructions # Put autolife.py in your .nuke directory or path # Put "import autolife" in your menu.py file
# This python script adds an 'autolife!' button to a 'user' tab on all Roto and Rotopaint nodes # When clicked, all shapes or strokes that are locked, will have their lifetime automatically set to their first and last keyframe. I found myself setting the frame range manually for this a lot, especially when roto'ing objects that need new shapes very often, so I made Autolife to speed the workflow up.
# Please let me know if you come across any bugs or have suggestions, and I'll try fix or add them!