IK with rotation limits

I’m using Blender 2.46 and I can’t get IK to work with limit constraints. I set up my rotation limits as I wanted and then added an IK constraint but Blender just ignores the limit constraints. Can anyone tell me how to get both IK and rotation limits?

To limit rotation on IK joints, you do not use the Limit Constraints. In fact, no constraint will work on any bone in an IK chain – the IK constraint supercedes all others.

To do what you want, you need to use the Limit X/Y/Z and Loc X/Y/Z Rot buttons on the Armatures Bones panel of the Edit buttons, with the bone in question selected. That’s where you set rotation constraints for IK bones.

That did the trick, thanks.