Skip to content

Add DwgExportManager: batch DWG/DXF export to PDF/PNG - #3

Open
vienha wants to merge 1 commit into
ADN-DevTech:masterfrom
vienha:master
Open

Add DwgExportManager: batch DWG/DXF export to PDF/PNG#3
vienha wants to merge 1 commit into
ADN-DevTech:masterfrom
vienha:master

Conversation

@vienha

@vienha vienha commented Sep 5, 2026

Copy link
Copy Markdown

Summary

  • Add DwgExportManager: a new WPF app to batch-export DWG/DXF drawings to PDF/PNG (pick Model/Layout and, for PNG, a per-drawing paper size, preview in AutoCAD, batch run via AutoCAD COM)
  • Add DwgExportManagerSetup: self-contained WiX installer for the new app (bundles .NET 8 runtime)
  • Make DrawingListUC.AcadComUtils public so the new project can reuse the existing AutoCAD COM helpers
  • Register both new projects in ScriptProPlus.sln and document them in README.md
  • Add MoTaNghiepVu.md describing ScriptProPlus's existing business flow
  • Add two test AutoLISP scripts (TestFiles/PlotAllLayoutsToPDF_A1.scr, PlotAllLayoutsToPNG.scr) that plot every layout of a drawing to PDF/PNG
  • Ignore the publish/ build output folder and VS-generated UpgradeLog*.htm files in .gitignore

Test plan

  • dotnet build ScriptProPlus.sln succeeds
  • Run DwgExportManager, browse a folder of DWG/DXF files, confirm Model/Layout dropdown and PNG paper size column both work per row
  • Export a sample drawing to PDF and to PNG and confirm output lands in danxuat/ next to the source file
  • Build DwgExportManagerSetup MSI and verify it installs/runs without a pre-installed .NET 8 runtime

🤖 Generated with Claude Code

https://claude.ai/code/session_011fpqFb1EZqvV2c7PURqcuq

Adds a new WPF tool (plus self-contained WiX installer) that browses a
folder of drawings, lets the user pick Model/Layout and a per-file PNG
paper size, and batch-exports to PDF and/or PNG through AutoCAD COM.
Exposes AcadComUtils publicly so the new project can reuse ScriptPro's
existing AutoCAD COM helpers, and ignores the publish/ build output dir.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fpqFb1EZqvV2c7PURqcuq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant