autolife v1.0

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Dylan Palmboom
Autolife automatically sets the lifetime for roto shapes and strokes to their first and last keyframe.
6.2, 6.3, 7.0 or later
Linux, Mac, Windows
28 Feb 2013

# Autolife v1.0 # Autolife is based on SetRotoLifetimeAll by Marc Gutowski (

# Instructions # Put in your .nuke directory or path # Put "import autolife" in your 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!

Please login in order to download these files.


0 # Dylan Palmboom 2013-02-28 13:21
The short description at the top should be:
"Autolife automatically sets the lifetime for roto shapes and strokes to their first and last keyframe."
I finished it late at night hence the slightly inaccurate short description :-).
Sorry admin, I edited the description and saved it but didn't know it will be sent for approval again.

A small bug I found was that nuke creates 2 autolife
buttons. To fix this, in the code, just change AddOnCreate to AddOnUserCreate.

Thanks :-)
0 # Alex Gamaiunov 2013-03-04 09:24
Thanks for your script. I've been thinking about it for a long time.
But it didn't work for me. Is it compatible with nuke 7?
0 # Dylan Palmboom 2013-03-04 09:34
I'm glad you find it useful, thanks :-)! Yes, it is compatible with Nuke 7.0. I'm using 7.0 at work at the moment. I've tested it on Nuke 6 and 7.
It's funny because I actually had it working last year in about October. I was using it in production for a few months, then my hard drive at work crashed, and I had forgotten to back it up or put it on Nukepedia! I was too busy on a project that I thought I'd upload it afterwards! I felt so lost roto'ing without it haha!
Eventually I got it working again.

0 # haseeb ahmed 2015-04-15 07:06
Hi Dylan, its wonderful script.
i have minor request if possible. is it possible to apply autolife to selected curves or shapes from roto or rotopaint node.

i.e, i have 10 shapes (curves) in root layer, i select only 2 and wanted them to autolife (not rest of shapes)
huge thanks again for your time and sharing this. cheers,haseeb

You have no rights to post comments

We have 2119 guests and 146 members online