Ice_Climber
(Mikhail Rachinskiy)
1
Hi guys, I’m trying to copy shape keys from the active object to selected, but I’ve got this error:
AttributeError: bpy_struct: attribute “shape_keys” from “Mesh” is read-only
Is there a way to bypass it?
obj = bpy.context.active_object
obs = bpy.context.selected_objects
for ob in obs:
ob.data.shape_keys = obj.data.shape_keys.copy()
Petege
(Petege)
2
Hi,
Maybe this helps: http://blenderartists.org/forum/showthread.php?p=1399711#post1399711 in the main function there is a part # copy the shapekeys
Ice_Climber
(Mikhail Rachinskiy)
3
Thanks, so I have to use vertex maps sigh