I’m making a script creating Hook whit empty, and than creating bone parented to empty. This is my code now:
epy = bpy.context.selected_objects
for i in range(len(epy)):
latn = bpy.context.active_object.name
epy[i].name = latn + "_emp"
Now I have problem to get the name from empty that is now as “selected_object”. How to get the name of that object, so I could make a string of it?