Irregular slot mate

Hi everyone,

I was wondering if there is an easier way of mating a pin to irregular shape slot, the is issue is best explained in this video:
SOLIDWORKS Mating Challenge: Pin in a Groove - YouTube 

The author showed a solution to it but maybe someone knows an easier way.

Thanks!

SolidworksParts And Features