/
autoCreateSolver
autoCreateSolver
Description
Creates and sets up a solver for the given character.
To solve a skeleton, the bones of the skeleton must be added to a solver. Typically a solver is created for each character and all the bones of each character are added to the solver that represents that character. When the solve command is executed, a solver is automatically created for any characters in the scene with none of its bones already in a solver. This is done as a convenience to the user so they do not need to create and setup solvers themselves. This command allows the auto-creation of a solver to be performed explicitly.
Functional area
Skeletal solving
Command syntax
Syntax
autoCreateSolver characterName[-addSelectedBonesOnly] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
characterName | String | Yes | Specifies the name of the character to create a solver for. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
addSelectedBonesOnly | 0 | — | — | Specifies that only the selected bones should be added to the solver. |
Return value
boolean
Examples
// Auto-create a solver for the Character named Bob. autoCreateSolver "Bob";
Additional information
Related commands
, multiple selections available,
Related content
solver
More like this
solve
More like this
autoSetupSolvingSkeletonOptions
autoSetupSolvingSkeletonOptions
More like this
createSolvingSetupFromLabelingSetup
createSolvingSetupFromLabelingSetup
More like this
createSkelScript
createSkelScript
More like this
createSidesAndPartsScript
createSidesAndPartsScript
More like this