Creating the moving detail assembly
- Copy the folder Driven Constraints from Third Quarter parts to your drive
- Open the barAssembly
- Fit the bar in the base by mating one side and the bottom of the bar to the base
- Attach the cylinder to the peg on the base with an Insert constraint

Add a Motion constraint for rotation-Translation from the round end of the cylinder to the straight edge of the bar ->
- Save as Detail Assembly