the challenge is as follows. I’d like to re-use animation from one armature on another, however the bone names are different for naming convention and other reasons. The simple (and time consuming) solutions are:
- copy the new bone names and replace the names in the rna path. e.g. pose.bones[“Hand L”].location becomes pose.bones[“hand.IK.l”].location
- copy the rna paths from the properties window and paste them into the graph editor properties panel.
while hitting ctrl c ctrl v for an hour i thought that maybe the steps from 1) could be done by a script, take the currently in the 3d view selected bone’s name and replace the parts in parenthesis of the property rna paths (“bonename”) of all currently selected fcurves with that.
With this it would be a matter of selecting the bone, selecting the fcurves and hitting a button to get all channels working on that bone.
Ideally there would be a button in the tool panel or somewhere in the graph editor for it.
Problem is that i have very limited knowledge on bpy scripting and it would take me some weeks to figure something out, so ideas and pointers on how to do this would be neat.