using python to create an IPO or animation on armature

Hi all.

I’ve been researching this problem for a while and I thought maybe if I alter my approach a bit maybe I’ll have better luck.
My original goal is to write python code to manipulate an armature. I’m thinking maybe the pose module in the python API is the way to go, but have not been able to find some examples to get me started. So if anyone has that, I’d be extremely grateful.
A new approach I just thought of was to use python to create an IPO. I think its IPO. When I did the character animation tutorial from blender we manually inserted keys for different frames. So if my animation was called ‘fist’ for example (I’m working with a hand model). at frame 5 I’d bend the pointer finger, frame 15, the middle finger, etc etc until all fingers at the end were enclosed in a fist, where the initial point was a flattenned hand.
I’m trying to create something dynamic, where I won;t know ahead of time which finger needs to bend and how much it should bend. I’m thinking dynamically creating one of these animations might work.
If anyone has any suggestions regarding what I’ve posted I’d be much obliged.
Thank you and have a ab fab day !
peace !

Your post in the P&P forum is enough.

%<