What this macro does
Batch opens drawings from a selected folder, rebuilds them and exports fresh PDFs.
Best for
- Pre-release drawing refresh
- Title block update checks
- Drawing batch QA
Inputs
- Folder containing .SLDDRW files
Outputs
Filename rules
Exports to RebuiltPDF subfolder using drawing filenames.
How to use
- Test on copied SOLIDWORKS files first.
- Download and import
RebuildDrawingsBeforeExport.basinto a SOLIDWORKS VBA macro project. - Open the required document type: Drawing.
- Run
mainfrom the macro editor or assign it to a toolbar button. - Review all generated files before using them for production release.
Limitations
- May expose missing references or rebuild errors that need manual repair.