So i have to convert different amounts of files from other software to step using solidwork. Since it's really slow to open them one by one and save, i've tried to create a macro to do it for me. I'm not super a super good coder, so this is more of a 20 lines long patchwork of other programs i found on the help forum.
Right now i'm tasked to save a bunch of files from Inventor to step (.ipt or .iam extension).
i've inserted msgbox everywhere to know what's going on. so i know the macro see the files and inspect them, but the IF statement, or what's in it, doesnt seems to activate for some reason.
i think my problem is the swapp.opendoc but i dont know what to put in there to open a non-solidwork file.
Attached is the macro and a .ipt file to test it.
Thank you if you can help me,
Message was edited by: Alexandre Caya Added how long is the macro, to not scare you guys away ;-) and a note about what is attached