World zero the axes of a selected bone

Hi guys!

I am newbie in the forum and this is my first post.

In my try to build a TStance template skeleton I get stuck. I actually need to world zero all bones, but the hip bone.

The only comment, what I found in this direction is the recalculating bone roll angles in python.

The thing is, it is important to get any axes to zero without moving the bone.

I am happy about any further comment or link. In case of interests about the whole process, drop me a line.

Cheers!

I have not done any work with armatures and python, but here is a link to the API.

http://www.zoo-logique.org/3D.Blender/scripts_python/API/Armature-module.html