Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. Print as array from the console:
  2. print([k.name for k in C.active_object.data.shape_keys.key_blocks])
  3.  
  4. Print as list from the console:
  5. for k in C.active_object.data.shape_keys.key_blocks:
  6.     print(k.name)
  7.  
  8. Prefix either with these two lines if you want to run it as a script from the text editor:
  9. import bpy
  10. C = bpy.context
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement