Go to: Synopsis. Return value. Related. Flags. Python examples.


ikSolver( [object] , [epsilon=float], [maxIterations=int], [name=string], [solverType=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

ikSolver is undoable, queryable, and editable.

The ikSolver command is used to set the attributes for an IK Solver or create a new one. The standard edit (-e) and query (-q) flags are used for edit and query functions.

Return value


In query mode, return type is based on queried flag.


connectJoint, ikHandle, ikHandleDisplayScale, ikSystem, ikSystemInfo, insertJoint, joint, jointCluster, jointDisplayScale, jointLattice, mirrorJoint, removeJoint


epsilon, maxIterations, name, solverType
Long name (short name) Argument types Properties
name(n) string createqueryedit
Name of solver
maxIterations(mxi) int createqueryedit
Sets the max iterations for a solution
epsilon(ep) float createqueryedit
max error
solverType(st) string createqueryedit
valid solverType (only ikSystem knows what is valid) for creation of a new solver (required)

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# creates fooSolver of type ikSCsolver with max error of 0.5
cmds.ikSolver( st='ikSCsolver', ep=0.5, n='fooSolver' )