manage_bone_collection
Organize an armature's bones into named collections, assign or unassign bones, and show or hide groups to manage rig layouts such as deform, controls, and mechanism.
Instructions
Organise an armature's bones into collections and show or hide them.
Typical rig layout: "Deform" (hidden), "Controls" (visible), "Mechanism" (hidden).
Args: armature_name: Armature object. action: CREATE (optionally with bones and a parent collection), DELETE, ASSIGN or UNASSIGN bones, SHOW or HIDE the collection. collection_name: Bone collection to act on. bones: Bone names for CREATE, ASSIGN and UNASSIGN, at most 1000. parent: CREATE only: nest under this existing collection.
Returns: Dict with the armature's collections, their bones and visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bones | No | ||
| action | Yes | ||
| parent | No | ||
| armature_name | Yes | ||
| collection_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||