pymel.core.animation.ikSolver¶
- ikSolver(*args, **kwargs)¶
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.
Flags:
Long Name / Short Name Argument Types Properties epsilon / ep float max error maxIterations / mxi int Sets the max iterations for a solution name / n unicode Name of solver solverType / st unicode valid solverType (only ikSystem knows what is valid) for creation of a new solver (required) Flag 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 # 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') #