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

Synopsis

ikSystem( [object] , [allowRotation=boolean], [autoPriority=boolean], [autoPriorityMC=boolean], [autoPrioritySC=boolean], [list=boolean], [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.

Flags

allowRotation, autoPriority, autoPriorityMC, autoPrioritySC, list, snap, solve, solverTypes
Long name (short name) [argument types] Properties
snap(sn) boolean queryedit
Set global snapping

In query mode, this flag needs a value.

solve(sol) boolean queryedit
Set global solve

In query mode, this flag needs a value.

list(ls) boolean queryedit
returns the solver execution order when in querry mode(list of strings) changes execution order when in edit mode (int old position, int new position)

In query mode, this flag needs a value.

solverTypes(st) boolean query
returns a list of valid solverTypes ( query only )

In query mode, this flag needs a value.

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.

In query mode, this flag needs a value.


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.

Return value


[string]

Related

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

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) )