# How to copy keyframes from one action to other

I would like to know how to copy keyframes from one armature to another. The thing is, I have the same object, the same armature - the same everything - but in diferent blend files. I want to have all the animation in a single blend file. Can any one explain how to do that?

this script will copy the animation data from the active Object to the selected object:

import bpy

active_obj = bpy.context.object

objects = [o for o in bpy.context.selected_objects if o.type == active_obj.type]
objects.remove(active_obj)

for obj in objects :
if obj.animation_data == None :
obj.animation_data_create()

for prop in properties:


here is test run :

• i definitely need to learn more about the use of python in blender! :) Mar 14 '15 at 23:25
• @Bithur it really fun once you get started Mar 14 '15 at 23:26
• i just don't know where to start :) Mar 14 '15 at 23:28
• Damm i dont know how to put scripts into blender Mar 15 '15 at 0:07
• @Warianos open the text editor (it's inside blender ), click +New then copy and paste the script in there, and select your objects , then click Run script Mar 15 '15 at 0:10

Select both objects and use Ctrl-L>Animation data

• Thanks for the quick reply, i tried but i failed dunno if im doing it correctlly, here´s a screen shot gyazo.com/c5c8e97316a19ed5260aa2e9eb83a46c I want to copy the keyframes from the other armature to the lowest one :S Mar 14 '15 at 22:41
• You selected it in object mode, correct? Mar 14 '15 at 23:12
• Yes yes, i did it in object mode Mar 15 '15 at 0:07
• Thanks for the help, it really links de animation, but i couldnt put it in the same armature without destroying the other animations Mar 16 '15 at 10:24