I have a blend file named A.blend with 10 empties having naming as 1,2,3…etc and these 10 empties have indiviual random animation.
Now I created a new blend named B.blend with 10 empties with same naming as above but all are at static location 0,0,0.
I append the actions from file name A.blend into the current B.blend and applied the action to each empty object in file, it was a success.
Now my question, Is there a method or a script that can assign the actions to empty objects it in one go. No more select individual empty and apply action.
Hi thanks for the code.
But it seems it does not work.
I appended the action from animation file. I can even see the action name in action editor.
I select all the empties in the current with no motion. And run the script.
I get a which says “error at line 7”
Attribute error: ‘None Type’ object has no attribute ‘action’