Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- # Find the first armature in the scene
- armature = None
- for obj in bpy.data.objects:
- if obj.type == 'ARMATURE':
- armature = obj
- break
- if armature is None:
- print("No armature found in the scene.")
- else:
- print("=== Bone Names in Armature:", armature.name, "===")
- for bone in armature.data.bones:
- print(bone.name)
- print("===============================================")
Advertisement
Add Comment
Please, Sign In to add comment