What this macro does
Selects a folder, opens every .SLDDRW file in it, rebuilds the drawing and saves a PDF into a PDF subfolder.
Best for
- Drawing release folders
- Vendor PDF packs
- Nightly drawing refreshes
Inputs
- Folder containing .SLDDRW files
Outputs
Filename rules
Uses the drawing filename and writes into a PDF subfolder.
How to use
- Test on copied SOLIDWORKS files first.
- Download and import
BatchExportDrawingsToPdf.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
- Processes one folder level.
- Drawings with missing references may require user repair before export.