FWIW this is where the dope sheet come in handy at least nuke7 on (maybe 8)

Select all nodes > ctrl D (or whatever the add to dopesheet shortcut is)
Wait while the dope sheet updates itself. 

Select all in there and set the move to 1000 and hit move. Save quit reopen 
depending on version of nuke. 

I think in v6 there was a bug where if you left a paint/roto node with anything 
selected internally, it wouldn't come in in the dope sheet. This was fixed in I 
think 7. 

I had to do this with a 1000 node script several times on one project. 

Howard

> On 12 May 2017, at 8:14 am, Andrew Shanks <[email protected]> wrote:
> 
> Thanks Bruno-Pierre!
>                                   works a treat! Thanks so much for your help!
> 
> Cheers,
> 
> andrew
> 
> :)
> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Mon, 8 May 2017 11:50:59 -0400
>> From: Bruno-Pierre Jobin <[email protected]>
>> Subject: Re: [Nuke-users] how to get this automated keyframe offset
>>    python    script to work
>> To: Nuke user discussion <[email protected]>
>> Message-ID:
>>    <cagqttnsgpmejpdgwr_lbnkxnne8k8-ddxrveoz-mpm9ssgf...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> 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 <[email protected]> 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
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>> 
>> 
>> 
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

-- 



*A X I S V F X*

The Bottle Yard Studios

Whitchurch Lane

Bristol BS14 0BH

 

axis-vfx.com
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to