With geometric constraints in AutoCAD you can simulate functionality of simple mechanisms. An example employing blocks of the Czech toy construction set "Merkur" is shown in the AutoCAD video #26.
This example uses a set of "coincident" constraints - see the ribbon Parametric > Geometric > Coincident), command GCCOINCIDENT. The constraints are applied in the pivot points (joints) of the individual parts. Another three fixed constraints, anchors (command GCFIX) are applied in the positions marked with the block "NUT" (white dots). When applying constraints, first select the object which will drive the movement.
The drawing Merkur1 used in the above video can be downloaded from the Block library - see Merkur1.dwg.
By rotating the wheel block you can drive the whole mechanism. The LISP file driving the rotation (angle) parameter is attached to the blocks (rename the .TXT file in the attachment to .LSP and load it into AutoCAD).