Dear all
I want to extend the copy paste keyframes function in Nuke to allow you to
paste
copied keyframes to current frame
ie I copy a keyframe at frame 12 and want to paste at 30. At the moment the
only
way I know to do this in Nuke is to move the keyframes to desired position,
copy, undo then paste.
A bit clunky.
Someone may have done this and like to share but otherwise...
So in python what is the best way to take the clipboard as such
{:selected_only: x1 0 x10 20} {:selected_only: x1 0 x10 30}
work out the frame difference (current frame - first frame in text)
search for all x'n' s and replace with new value
ie to paste at frame 30
30-1 = 29
find x1 - get number (strip x) add 29
replace x1 with x30
move onto next x add 29
replace
etc...
Any help greatly appreciated
Howard
Twenty4D VFX Ltd
www.twenty4d.com_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python