Tutorial - Screw mate in SolidWorks?
Here is the tutorial.
Insert the attached parts.
Select the circular faces.
Move the nut away from bolt.
Under mechanical mates click screw.
Select distance/revolution (i.e. pitch) and input value.
Select both cicular faces.
Click OK and the mate is generated.
When we revolve the nut with mouse we can see that it is moved up and down.