Recently I posted some new SolidWorks macro at Lorono’s SolidWorks Resources which you would like to try and might find useful for your day to day use.
Here are brief details on the macros:
Send Email via SolidWorks : Macro to send email with assembly name in subject.
Save and Open as PDF: Macro to save active file as PDF in the same location and open the created PDF file
Hide Show Note : Macro to hide or show note in the active drawing.
There are more useful macros and stuff at Lorono’s SolidWorks Resources and I’ll be adding more similar macro there, so keep watching.
SolidWorks is able to save drawings and current model views as a PDF format file.Â There’s been a lot of macros written over the years that cut the process of saving as PDF down to as few steps as possible. One of the long standing requests for this type of macro (and many similar types of macros) is to allow the user to pick the save location. Just uploaded is a macroÂ (SaveAsPDF with Folder Selection) that does just this, and simplifies the location selection process for default folders. This new macro also uses more modern API techniques to save the file (using modelext::saveas instead of model::saveas4).
This macro does many things that previous macros haven’t.Â While allowing the user to establish a default save location folder, it also provides automatic alternative choices when the default is not available.Â Â Yet, even with all of these, the user can still override automated selection and pick a new location.Â It does all of this without the use of VB6 forms.
As with other macros that do similar tasks, this will work best when assigned to a keyboard shortcut or a toolbar icon.Â Â Also, as with all SolidWorks macros, there is a chance it will not work “out-of-the-box”.Â This is normally due to the fact that SolidWorks updates coreÂ reference libraries with each release.Â If errors are encountered,Â simplyÂ re-reference toÂ theÂ libraries that are availableÂ to allow the macro to function.Â More information about that is available in this previous article.