SkinLayerStudio API (Beta)
/
API Reference
/
Skin
bone_hierarchy()
Download MarkdownReturns the parent and child relationship of the bones. It is the same map as the Hierarchy view in the Quick Skin window.
Use it when a script walks an arm chain. The weight numbers themselves are not in it.
Signature
skin.bone_hierarchy() -> dict
Example
tree = api.skin().bone_hierarchy()
print(tree.get("Bip001 Spine"))