Module Armature :: Class BonesDict
[frames] | no frames]

Class BonesDict

The BonesDict object

This object gives gives dictionary like access to the bones in an armature. It is internal to blender but is called as 'Armature.bones'

Removing a bone: Example:

       del myArmature.bones['bone_name']

Adding a bone: Example:

       myEditBone = Armature.Editbone()
       myArmature.bones['bone_name'] = myEditBone
Instance Methods
string, BPy_bone
items()
Return the key, value pairs in this dictionary
string
keys()
Return the keys in this dictionary
BPy_bone
values()
Return the values in this dictionary
Method Details

items()

 

Return the key, value pairs in this dictionary

Returns: string, BPy_bone
All strings, and py_bones in the armature (in that order)

keys()

 

Return the keys in this dictionary

Returns: string
All strings representing the bone names

values()

 

Return the values in this dictionary

Returns: BPy_bone
All BPy_bones in this dictionary