set_ik_solver_enabled
Enable or disable a solver at a specified index in an IK Rig asset, saving the change and returning the actual enabled state.
Instructions
Enable or disable the solver at a 0-based index of an IK Rig asset through the IK Rig controller (one undo transaction), then save the asset; enabled is read back. An out-of-range index is not an error but set_ok false, and a solver already in the requested state gives changed false: in both cases saved is false, a note says why and nothing is saved. A failed save makes success false, with saved=false and save_error.
Returns: { asset_path: string, solver_index: int, enabled: bool, set_ok: bool, changed: bool, saved: bool, save_error?: string, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Optional bool; defaults to true | |
| ik_rig_path | Yes | Path to the UIKRigDefinition asset | |
| solver_index | Yes | 0-based solver index |