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
Method Summary |
string, BPy_bone
|
items ()
Retun the key, value pairs in this dictionary |
string
|
keys ()
Retun the keys in this dictionary |
BPy_bone
|
values ()
Retun the values in this dictionary |
items()
Retun the key, value pairs in this dictionary
-
- Returns:
-
All strings, and py_bones in the armature (in that order)
(type=string, BPy_bone)
|
keys()
Retun the keys in this dictionary
-
- Returns:
-
All strings representing the bone names
(type=string)
|
values()
Retun the values in this dictionary
-
- Returns:
-
All BPy_bones in this dictionary
(type=BPy_bone)
|