/
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

NameTypeRequiredComments
solverNameStringYesSpecifies the name of the solver command acts on.

Flags

NameFlag argumentsArgument typeExclusive toComments
listBones0Prints the names of all bones associated with the given solver to the command log.
addBones0removeBones, removeAllBonesAdds all selected bones to the solver.
removeBones0addBones, removeAllBonesRemoves all selected bones from the solver
removeAllBones0addBones, removeBonesRemoves all bones from the named solver.
selectBones0Selects all bones associated with the given solver.
selectMarkers0Selects all markers that are associated with the solver
selectConstraints



reset0Forces 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

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks