Create a Cycloid in SolidWorks

You can sketch a cycloid by this macro. (free download)
You will define cycloid properties in user friendly GUIs per below picture.
Wait until the line is created and zoom to fit command to be be applied by the code.

Cycloid pen

Handy