SkinLayerStudio API (Beta) / API Reference / Skin

bone_hierarchy()

Download Markdown

Returns 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"))
💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support