Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Register Log in

Unable to open SWP generated by MATLAB in Macro

terranan

Newbie
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.
 

Sponsor

Top