Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import bpy
  2. ob = bpy.data.objects['ARMATURE1']
  3. armature = ob.data
  4. #When press a certain keyboard key let's say H the below code will run
  5. for bone in armature.bones:
  6. print(bone.name)
  7. #or if I pressed J key the below code will run
  8. for bone in armature.bones:
  9. print(bone.basename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement