/
solver
solver
Description
Performs operations on the named solver.
A solver is a collection of nodes (typically bones) designed to be solved based on the constraints that exist on those nodes.
Using the solver commands, you may add or remove bones from the influence of the solver, you may add or remove constraints from the solver, and you may query the solver for the bones and constraint objects that belong to it.
To initially create a solver, see the create command. All of the solver operations here are also available in the Processing panel.
Functional area
Skeletal solving
Command syntax
Syntax
solver "Solver" [-listBones] [-addBones] [-removeBones] [-removeAllBones] [-selectBones] [-selectMarkers] [-selectConstraints] [-reset] [-cutKeys] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
solverName | String | Yes | Specifies the name of the solver command acts on. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
listBones | 0 | — | — | Prints the names of all bones associated with the given solver to the command log. |
addBones | 0 | — | removeBones, removeAllBones | Adds all selected bones to the solver. |
removeBones | 0 | — | addBones, removeAllBones | Removes all selected bones from the solver |
removeAllBones | 0 | — | addBones, removeBones | Removes all bones from the named solver. |
selectBones | 0 | — | — | Selects all bones associated with the given solver. |
selectMarkers | 0 | — | — | Selects all markers that are associated with the solver |
selectConstraints | ||||
reset | 0 | — | — | Forces the solver to update its internal representation of the skeleton and constraints. |
cutKeys |
Return value
void
Examples
// This command sequence will select existing BoneNodes // and add them to the existing solver module called "right_leg". select lfemur ltibia lfoot ltoe; solver right_leg -addBones;
Additional information
Related commands
, multiple selections available,