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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
epsilon (ep) | float | ||
|
|||
maxIterations (mxi) | int | ||
|
|||
name (n) | unicode | ||
|
|||
solverType (st) | unicode | ||
valid solverType (only ikSystem knows what is valid) for creation of a new solver (required)Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.ikSolver
Example:
import pymel.core as pm
import maya.cmds as cmds
# creates fooSolver of type ikSCsolver with max error of 0.5
#
pm.ikSolver( st='ikSCsolver', ep=0.5, n='fooSolver' )
# Result: nt.IkSCsolver(u'fooSolver') #