3.1.9.1.16.3. SolidWorks Macro
  1. Select the Macro, Execute command from the Extras menu.

  1. Open the desired part with the ending .swb/.swp (SolidWorks Visual Basic Program).

  1. In the Search folder window , enter the target directory [Destination directory] in which the part is to be saved. If you do not want to save the macro file, simply click Cancel immediately.

--> The macro is played and then the part is opened in SolidWorks.