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