SkinLayerStudio API (Beta)
/
API Reference
/
API
bones()
Download MarkdownReturns 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)