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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
max error
maxIterations (mxi) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Sets the max iterations for a solution
name (n) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Name of solver
solverType (st) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

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

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

Previous topic

pymel.core.animation.ikHandleDisplayScale

Next topic

pymel.core.animation.ikSystem

Core

Core Modules

Other Modules

This Page