Hi Andrew,
You can simply copy slips.py in your .nuke directory. And then, from the script editor, do the following. import slips for i in nuke.allNodes(): # iterates through every nodes slips.slip_animations_of_node(i,1000) # offset every animated knobs by 1000 frames Depending on the complexity of your nuke script, it can be quite long to run this script through every nodes. If you can, I suggest you make a list of the nodes you want to offset and iterates through that list. By selecting the wanted nodes, this will make a list out of it. myList = [i for i in nuke.selectedNodes()] Hope this helps. Cheers! On Mon, May 8, 2017 at 12:44 AM, Andrew Shanks <and...@vfx.co.nz> wrote: > Hey guys, > I'm not much of a python guy (keep trying to learn more, > keep getting busy with the comping, ...but getting there slowly). Anyway, I > was looking into ways to offset all the animated keyframes in a script > (including cameras), useful for bumping an offline postviz comp into line > with final edited shots. Of course I could manually go through every > animated node and add a *curve(frame+offset)* to each animated parameter, > but that would be painful as I'm looking at doing this for a whole show. So > i was looking for a more automated way. > > I found the below python code mentioned on the mailing list a few years > back and looks interesting, ....only problem is I haven't the foggiest idea > how to get that puppy going (I'm guessing I should call the python script > and define commands in the menu.py, but not really sure what I should be > defining). I was just wondering if Julik Tarkhanov who wrote it might be > lurking and able to shed light on it, or if someone else here can help this > comp monkey out. > > https://gist.github.com/julik/3673783 > > Cheers! > > andrew > > :) > > _______________________________________________ > Nuke-users mailing list > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > -- Bruno-Pierre Jobin www.bpjobin.com
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users