I would like to know how I can save selected object names, location and rotation using Python in Blender 2.8 in a CSV.
And then using the same CSV apply this information to another blend file with the same objects in different locations in a new frame.
(it's not about bones it's about normal meshes).
Beeing new to Blender Python scripting, I hope for some coding hints here.
so far i got this (works in console but not in script file)
import bpy import os ob_active = bpy.context.selected_objects for obj in ob_active: print(obj.name,obj.location,obj.rotation_euler)
some_string_var = ', '.join([str(x) for x in obj.rotation_euler])to get the rotation values separated by commas as a string. $\endgroup$