sw_batch_export
Export all matching SolidWorks part and assembly files from a folder to a chosen format, opening them read-only and never saving changes. Supports patterns, recursion, and material overrides.
Instructions
Export every matching file in a folder (opened read-only, never saved) to /batch/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Folder with .sldprt / .sldasm files. | |
| pattern | No | Glob, e.g. '*.sldprt' or 'arm*.sldprt'. | *.sld* |
| material | No | Apply this material to parts before export. | |
| overwrite | No | Replace an existing file (the user is asked first). | |
| recursive | No | ||
| file_format | No | step |