I'm having issues loading Action from Armature A to Armature B because the first one has Euler rotation bones and the second has Quartenion.
If I manually copy all bones from Armature A and paste on Armature B in pose mode it works great.
but the Armature A bones has over 800 frames and I can't manually copy and paste each one of them.
Is there a way to write a python script to perform this by the Armature name?
I came across this script from this anwer: Question and it works great if the armature of destination has Euler but since it is Quartenion if doesn't rotate. I wanna use the code below but using the copy bones and paste instead of setting attributes.
import bpy
active_obj = bpy.context.object
ad = bpy.context.object.animation_data
properties = [p.identifier for p in ad.bl_rna.properties if not p.is_readonly]
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()
ad2 = obj.animation_data
for prop in properties:
setattr(ad2, prop, getattr(ad, prop))