SkinLayerStudio API (Beta) / API Reference / API

bones()

Download Markdown

Returns a handle for every bone in the viewport. You do not have to remember the names.

Names are sorted A to Z. If the scene has no bones, the list is empty. If bone worlds are not ready yet, you get SessionError. Call this after a mesh is open.

Signature

api.bones() -> list

Example

for bone in api.bones():
    print(bone.name)
💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support