Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to open SWP generated by MATLAB in Macro

  • Thread starter Thread starter terranan
  • Start date Start date
T

terranan

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

Part and Inventory Search

Sponsor

Back
Top