Go to: Synopsis. Return value. Related. Flags. Python examples.
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.
In query mode, return type is based on queried flag.
connectJoint, ikHandle, ikHandleDisplayScale, ikSolver, ikSystemInfo, insertJoint, joint, jointCluster, jointDisplayScale, jointLattice, mirrorJoint, removeJoint
allowRotation, autoPriority, autoPriorityMC, autoPrioritySC, list, snap, solve, solverTypes
Long name (short name) |
Argument types |
Properties |
|
allowRotation(ar)
|
boolean
|
|
|
Set true to allow rotation of an ik handle with keys set on
translation.
|
|
autoPriority(ap)
|
boolean
|
|
|
set autoPriority for all ikHandles
|
|
autoPriorityMC(apm)
|
boolean
|
|
|
set autoPriority for all multiChain handles
|
|
autoPrioritySC(aps)
|
boolean
|
|
|
set autoPriority for all singleChain handles
|
|
list(ls)
|
[int, int]
|
|
|
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)
|
|
snap(sn)
|
boolean
|
|
|
solve(sol)
|
boolean
|
|
|
solverTypes(st)
|
boolean
|
|
|
returns a list of valid solverTypes ( query only )
|
|
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.
|
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) )