Export multiple configs to multiple DWG

I've got 144 different configurations that I would like to pass to separate DWG files. I assume this could be done via Macor/API but I have little experience there. Any thoughts?

SolidworksConfigurations design Tables