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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
allowRotation (ar) | bool | ||
Set true to allow rotation of an ik handle with keys set on translation.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
autoPriority (ap) | bool | ||
|
|||
autoPriorityMC (apm) | bool | ||
|
|||
autoPrioritySC (aps) | bool | ||
|
|||
list (ls) | int, int | ||
|
|||
snap (sn) | bool | ||
|
|||
solve (sol) | bool | ||
|
|||
solverTypes (st) | bool | ||
|
Derived from mel command maya.cmds.ikSystem
Example:
import pymel.core as pm
import maya.cmds as cmds
# Prints out the solver execution order
#
pm.ikSystem( q=True, ls=True )
# Result: [u'ikSCsolver', u'ikRPsolver', u'ikSplineSolver', u'hikSolver'] #
# Moves solver on position 2 to position 1 in
# the execution order list ( zero based index )
#
pm.ikSystem( e=True, ls=(1, 0) )