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

Synopsis

ikSystem( [object] , [allowRotation=boolean], [autoPriority=boolean], [autoPriorityMC=boolean], [autoPrioritySC=boolean], [list=[int, int]], [snap=boolean], [solve=boolean], [solverTypes=boolean])

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

ikSystem is undoable, queryable, and editable.

The ikSystem command is used to set the global snapping flag for handles and set the global solve flag for solvers. The standard edit (-e) and query (-q) flags are used for edit and query functions.

Return value

string

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

Related

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

Flags

allowRotation, autoPriority, autoPriorityMC, autoPrioritySC, list, snap, solve, solverTypes
Long name (short name) Argument types Properties
snap(sn) boolean queryedit
Set global snapping
solve(sol) boolean queryedit
Set global solve
list(ls) [int, int] queryedit
returns the solver execution order when in query mode(list of strings) changes execution order when in edit mode (int old position, int new position)
solverTypes(st) boolean query
returns a list of valid solverTypes ( query only )
autoPriority(ap) boolean edit
set autoPriority for all ikHandles
autoPrioritySC(aps) boolean edit
set autoPriority for all singleChain handles
autoPriorityMC(apm) boolean edit
set autoPriority for all multiChain handles
allowRotation(ar) boolean queryedit
Set true to allow rotation of an ik handle with keys set on translation.

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

# Prints out the solver execution order
#
cmds.ikSystem( q=True, ls=True )
# Moves solver on position 2 to position 1 in
# the execution order list ( zero based index )
#
cmds.ikSystem( e=True, ls=(1, 0) )