import Blender
from Blender import Armature

def boneFunc(bones):
    print bones
    for bone in bones:
        if bone.getChildren():
            print "find children"
            boneFunc(bone.getChildren())
        print "Bone: %s" % bone.getName()

armatures = Armature.Get()
for a in armatures:
    print "Armature ", a
    print "- The root bones of %s: %s" % (a.name, a.getBones())
    print
    root_bone = a.getBones()
    boneFunc(root_bone)

骨に割り当てられてる頂点はどうやって調べるんだ