[Blender] Print all ShapeKey names attached to the object

Just print the name of the ShapeKey attached to the selected object

import bpy
selectList = bpy.context.selected_objects

if selectList[0].data.shape_keys:
	for tes in selectList[0].data.shape_keys.key_blocks:
		print(tes.name)

Blender2.8 Personal notes

Recommended Posts

[Blender] Print all ShapeKey names attached to the object
Just print the selected object in Blender
Script to search all selected object hierarchies in Blender
Print the name of the object directly under the object specified in Blender
Mount the volume attached to CentOS 7
[Blender] How to set shape_key with script
How to print debug messages to the Django console
Save the object to a file with pickle
[Blender] How to get the selection order of vertices, edges and faces of an object