precise rotation in SW assembly

hello SW users,
I have an assembly of a door. I want to rotate the door like I open it at a specific angle like 30 or 45 degrees or any given degree precisely. Is there a way to do so?
Thanks in advance!
4 Answer

Solidworks hinges are the most popular parts used to highlight the configuration feature within SolidWorks.

Hello Aston,
Click the "Advanced" tab under the Mate feature. Select the "Angle" mate which will expand the inputs. You can then enter a value for minimum and maximum angle. Select two flat surfaces that you want to control with this mate. If you've selected valid surfaces, your angular limit mate should work. Test it by click and dragging the unfixed part.

hi all,
thanks for your help. i tried the method you taught but i realized that the door is locked at a given angle and cannot be be rotated. I want to be able to rotate the door and it will stop at the assigned angle.
to make it even better, i want to be able to set the door to open every 15-degree increment as i rotate the door. is this possible at all in SW?
I also play with the mechanical mates and I see that there is a hinge mate that can let me assign the angle from start to end and lock in place. But this also limits to one movement only, for instance, from 0 degree to 180 degrees. I can't do o-15, 15-30 and so on..