Bone constraints.

I’m trying to export bone constraints but I can’t seem to find them in the blender API… Can someone tell me how to get constraints for a bone in Blender 2.56?

Does anyone know where to get constraints for bones?

Constraints are attached to the Object.

http://www.blender.org/documentation/blender_python_api_2_56_0/bpy.types.Object.html

Sorry, no, the bone constraints are attached to each PoseBone.

http://www.blender.org/documentation/blender_python_api_2_56_0/bpy.types.PoseBone.html

Actually you original comment helped me figure it out. I had to get the PoseBone from the Armature object instead of trying to get it form the Armature directly.