This is what you need for the menu.py

m=nuke.menu('Animation').findItem('Predefined')
m.addCommand('pasteSelected', 'nuke.load("pasteKeyframes"), pasteSelected()')

Known issues - when pasting a series of split views earlier than source - you 
may have to paste several times for all to appear (no idea why)
Paste after source - works.

select your keyframes - move to start position (keeping selection) - 
'pasteSelected'. Should appear.

H


________________________________
From: Spider <spi...@555lab.com>
To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
Sent: Wed, 18 May, 2011 0:12:30
Subject: Re: [Nuke-users] Dope Sheet Keyframe

Thanks everyone,
 
Howard, i'll try it at work tomorrow !

Spider



2011/5/17 Howard Jones <mrhowardjo...@yahoo.com>

This is work in progress but allows you to copy and paste keyframes within the 
dope sheet and curve editor
>I haven't got the menu.py to hand but basically add pasteSelected() to the 
>animation menu.
>
>select a key, move your position and paste (doesn't work with rotos though)
>
>H
>
>
>
>
>
>
________________________________
From: Spider <spi...@555lab.com>
>To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
>Sent: Tue, 17 May, 2011 19:49:27
>Subject: Re: [Nuke-users] Dope Sheet Keyframe
>
>
>Does it work for multiple keyframes selected ?
>
>
>i can't achieve it on the viewer the edit right clic menu don't appear. (i've 
>only select all, Overlay,Input...)
>what's wrong with me ?
>
>
>
>
>Spider
>
>
>
>2011/5/17 Deke Kincaid <dekekinc...@gmail.com>
>
>copy/paste does work in the viewer only with the right click > Copy >
>>Point Values.  I just did it.
>>
>>-deke
>>
>>
>>On Tue, May 17, 2011 at 11:11, Spider <spi...@555lab.com> wrote:
>>> I alrady try the copy paste but it doesn't work, the same for move, it can't
>>> allow you to cross keyframe ... :(
>>>
>>> 2011/5/17 Ron Ganbar <ron...@gmail.com>
>>>>
>>>> Actually, I couldn't manage to paste a keyframe in the Dope Sheet in a new
>>>> location. If anybody knows how I'll appreciate knowing.
>>>>
>>>>
>>>> Ron Ganbar
>>>> email: ron...@gmail.com
>>>> tel: +44 (0)7968 007 309 [UK]
>>>>      +972 (0)54 255 9765 [Israel]
>>>> url: http://ronganbar.wordpress.com/
>>>>
>>>>
>>>> On 17 May 2011 21:03, Deke Kincaid <dekekinc...@gmail.com> wrote:
>>>>>
>>>>> Keyframes can't cross each other in the curve editor or dope sheet.
>>>>> The only way is to copy/paste them.
>>>>>
>>>>> -deke
>>>>>
>>>>> On Tue, May 17, 2011 at 10:33, Spider <spi...@555lab.com> wrote:
>>>>> > Hi everybody,
>>>>> > I have maybe a stupid question but i don't know how to move keyframe
>>>>> > after
>>>>> > the next one,
>>>>> > Said we have 3 keyframes A B and C, i'd like to move the A between B
>>>>> > and C.
>>>>> > I try to find my answer inside the help but nothing :(
>>>>> > any hint will be welcome.
>>>>> > Spider
>>>>> >
>>>>> > --
>>>>> > Luddnel Spider Magne | Director - Lead Motion Compositor
>>>>> > 555Lab – Alchemy between you and us
>>>>> > 24 rue du Pré St-Gervais 93500 Pantin
>>>>> > Office (+33)148 453 555 | Fax (+33)171 864 387
>>>>> > Mobile (+33)699 434 555 | 555lab.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
>>>>> >
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>> --
>>> Luddnel Spider Magne | Director - Lead Motion Compositor
>>> 555Lab – Alchemy between you and us
>>> 24 rue du Pré St-Gervais 93500 Pantin
>>> Office (+33)148 453 555 | Fax (+33)171 864 387
>>> Mobile (+33)699 434 555 | 555lab.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
>>>
>>_______________________________________________
>>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
>>
>
>
>-- 
>Luddnel Spider Magne | Director - Lead Motion Compositor
>555Lab – Alchemy between you and us 
>24 rue du Pré St-Gervais 93500 Pantin 
>Office (+33)148 453 555 | Fax (+33)171 864 387
>Mobile (+33)699 434 555 | 555lab.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
>


-- 
Luddnel Spider Magne | Director - Lead Motion Compositor
555Lab – Alchemy between you and us 
24 rue du Pré St-Gervais 93500 Pantin 
Office (+33)148 453 555 | Fax (+33)171 864 387
Mobile (+33)699 434 555 | 555lab.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

Reply via email to