Normally, MasterCam will import directly Solidworks Solid and can import Solid History too.
But don't know what version you use.
When you go in the open menu in MasterCam, specify what kind of file you want to import and select SolidWorks file extension.
In the open menu, select OPTION and Check Import solid History.
Jeff