Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- ob = bpy.data.objects['ARMATURE1']
- armature = ob.data
- #When press a certain keyboard key let's say H the below code will run
- for bone in armature.bones:
- print(bone.name)
- #or if I pressed J key the below code will run
- for bone in armature.bones:
- print(bone.basename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement