IPO curve suggestions....

I am writing a script to take an ipo curve and make it a harmonically damped curve given an equation.
I am needing the script to somehow get the ipocurve the user wants it to run on…
Should i just have the script see what ipo curve is currently selected? Or should i have a menu pop up with all possible options…ie under object, rotx,roty,rotz,locx,locy,locz…and so on for Material, World… Any suggestions would be greatly appriciated.

Thanks!

Look here… Use getitem to get your ipocurve, then add new keys in it. Dont expect this ti be seleded beforehand - you select it by using constant like Ipo.OB_LOCX :wink: