I have searched around a bit, and it seems the answer is very specific to the exact application, so the few solutions I have attempted have not worked.
I am looking for a macro to export multiple assembly configurations to either part files, IGES files or STEP files that I can later import to my AutoCAD Factory Design Suite package as 3D assets.
I am running Solidworks 2014, probably soon to be 2015, and I believe I am on a 64-bit installation.
SolidworksImport export
Here are some macros you can try/modify:
Check these helpful posts; Frequently Asked Forum Questions, How to ask a good question in the API forum and Forum Posting for your future reference to get best out this forum
This appears to have worked. One strange thing I noticed was that it saved the first configuration as all 3 (part, step, iges) and then saved the rest of the configurations as part files. Shouldn't be an issue, however, since I can work with any of the 3.
The macro works fine for me. I've commented the codes which were deleting the part files. Check the updated macro.
Deepak, I have found an issue with exporting my assembly configurations as parts/iges/step. It is not carrying over colored faces on some of the components. Could you possibly change the macro you provided so that it saves each configuration as its own assembly file? I tested it on the side and that allows me to carry colors over without issue, and I can still import to AutoCAD as the SLDASM format.