How joaogabrielhermida/convert-dwgtopdf works
Convert-DwgToPdf is a PowerShell command-line tool that reads conversion settings and CSV job data, converts DWG drawings through DWGTrueView, and produces renamed PDFs at specified destinations. The README documents plotting by format and logging as product capabilities. The source excerpts are unavailable, so helper responsibilities and detailed call relationships cannot be verified; edges below reflect only relationships stated in the README.
Main entry points: Main.ps1 Conversion runner · config.json Runtime settings · plot-landscape.scr Landscape plot · plot-portrait.scr Portrait plot
Components 13
Entry and settings
- Conversion runner
Main.ps1 - Runtime settings
config.json
Conversion workflow
- DWGTrueView
- Landscape plot
Modules/DWGTrueViewScripts/plot-landscape.scr - Portrait plot
Modules/DWGTrueViewScripts/plot-portrait.scr
Runtime helpers
- Log writer
Modules/Helpers/Write-LogMessage.psm1 - CSV reader
Modules/Helpers/Read-DataFromCSV.psm1 - Location helper
Modules/Helpers/Get-CurrentLocation.psm1 - Process helper
Modules/Helpers/Stop-ProcessByName.psm1
Input and output
- CSV job data
input/ExportPDF.csv - Renamed PDF output
- Conversion log
log/conversion-log.txt
Other components
- Operator
Connections 8
- Operator → Conversion runner: runs
README.md - Conversion runner → Runtime settings: uses settings
README.md - Conversion runner → CSV job data: processes jobs
README.md - Conversion runner → DWGTrueView: converts through
README.md - Conversion runner → Renamed PDF output: renames and moves
README.md - Conversion runner → Conversion log: logs progress
README.md - Conversion runner → Landscape plot: selects plot format
- Conversion runner → Portrait plot: selects plot format