Export Active Part to PDF
Exports the currently active part document to a PDF file in the same folder.
Macro Library
A growing library of ready-to-use SolidWorks macros, organized by Part, Assembly, Drawing and Application level. Click any macro to view the VBA source, then copy it straight into your own macro editor.
Exports the currently active part document to a PDF file in the same folder.
Force-rebuilds and silently saves every currently open document, part or assembly.
Prompts for a feature name and toggles it between suppressed and unsuppressed in the active configuration.
Inserts a parts-only BOM table on the active assembly and saves it directly as an Excel file.
Swaps one referenced component in the active assembly for a different part, by name.
Zooms the active document to fit the window, then saves a PNG screenshot alongside the file.
Exports every sheet of the active drawing into a single multi-page PDF.
Prompts for drawn-by and checked-by values and writes them, plus today's date, into the drawing's custom properties.
Prompts for a number of copies and sends the active drawing to the default printer.
Loops through every open part and assembly and exports each one to STEP format.
Prompts for a property name and value, then applies it to every currently open document.
Confirms with the user, then closes every open document without saving changes — useful for a clean restart.
Every macro here is a starting point — test it in a non-production environment and adapt error handling and file paths to your own standards before using it on live data. New macros are added to this library regularly.
If nothing here fits exactly, we build custom macros, add-ins and configurators to order.