A Python CLI tool that reads drawing parameters (e.g., title block fields, dimensions) from a CSV or JSON file and applies them to SolidWorks drawing files (.SLDDRW). Ideal for engineers and CAD admins who need to automate repetitive drawing updates across multiple files. Works on Linux/Mac via SolidWorks API over COM (requires Windows SolidWorks installation).

Features

  • Batch update title block fields (e.g., part number, revision, date) from CSV/JSON input
  • Export drawings to PDF, DXF, or image formats with configurable resolution
  • Replace or insert custom properties (e.g., material, weight) into drawing metadata
  • Log all changes and errors to a timestamped CSV report
  • Dry-run mode to preview changes without modifying files

Usage

python solidworks_auto.py --input updates.csv --drawings *.SLDDRW --export pdf --dry-run

Requirements

Python 3.8+. Install dependencies:

pip install -r requirements.txt

Download

Buy for $29 →

Buy once, download immediately. ZIP includes the full script, README, and usage examples.

License

Personal & Commercial Use. You may use this tool in your own personal and commercial projects. Redistribution or resale of the source code is not permitted.