Path Mate

I'm looking for help with a path mate.

The yellow block should follow the cam slot.  I've created a composit curve down the centerline of the slot and a point where the center of the roller should be.

I can sellect the the curve as a path but it onle selects a line or a curve even though it's a composit curve.  If I move the mechine it will follow on;y part of the path.

As the bean shaped cam rotates. The yellow block moves forward and back.  The yellow block should then travel side to side.

SolidworksAssemblies