Hello,
I used MATLAB to help generate a batch of swp files (SolidWorks Macro files) that can build models automatically in SolidWorks 2020. But none of them can be opened with SolidWorks Macro. However, if I create a new Macro in SolidWorks and simply copy and paste the script from one of the generated swp files and run it, it works. Apparently the scripts are correct but the swp files are not readable. How can I resolve the issue? Since I have a batch of swp files, it's going to take forever to do copy-and-paste. Any thoughts are appreciated. Thanks.
I used MATLAB to help generate a batch of swp files (SolidWorks Macro files) that can build models automatically in SolidWorks 2020. But none of them can be opened with SolidWorks Macro. However, if I create a new Macro in SolidWorks and simply copy and paste the script from one of the generated swp files and run it, it works. Apparently the scripts are correct but the swp files are not readable. How can I resolve the issue? Since I have a batch of swp files, it's going to take forever to do copy-and-paste. Any thoughts are appreciated. Thanks.