hi all

I am interested generally in how easing and f-curve control happens
via pymel.

a more specific question I am stumped by is how to script a simple
ease-in or ease-out scenario below, where I am un-hiding a series of
objects in succession.   I have some easing defined by the exponent at
the end--but I'd like to add some control for the range over which the
easing occurs--say between frame 1 and a defined ending frame...

tips much appreciated!

listLen = len(objList)

for i in range(listLen):
    pm.hide(objList[i])
    pm.setKeyframe(objList[i], t=1)
    pm.showHidden(objList[i])
    pm.setKeyframe(objList[i], t=i**.25)

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to