Author: Deepak Gupta
Source: Boxer’s SolidWorks Blog
Macro to save assembly to save as part (exterior faces), updated for current SolidWorks versions (2013 and up).
Precondition: Any active assembly with minimum one part.
Postcondition: Assembly is saved as part.