I am modelling an assembly where I have a leg that will rotate about a pivot. Is there a way to constrain it so that if can be free to rotate between tow angles but not any more?
It is very much possible to constrain a rotating member within a certain envelope. You need to use pin joint with the proper definition of "Rotation Axis" option.