Script needed to run DrawFromCSV on multiple CSV files
Posted: Thu Oct 31, 2024 6:30 pm
Hi all, I am wrapping up my first Python project, a massive (to me) effort that represents the achievement of a goal I set some 20 years ago. My code solves for trajectories to transfer from Earth to Mars. Hopefully the attached will explain well enough.
Windows 10, QCAD 3.27.9 (free version)
My python code generates the CSV files, there will be many hundreds of them, ultimately thousands. I need to run the DrawFromCSV script (thanks CVH!) on a fresh DXF for each CSV and export to PDF using the same file name. That works fine when I do it by clicking and typing.
I am unable to find any relevant example scripts to get started and do not know what I am doing with ECMA script. I last worked with javascript 20 years ago. I am quite willing to learn but am getting nowhere so far.
TIA
Windows 10, QCAD 3.27.9 (free version)
My python code generates the CSV files, there will be many hundreds of them, ultimately thousands. I need to run the DrawFromCSV script (thanks CVH!) on a fresh DXF for each CSV and export to PDF using the same file name. That works fine when I do it by clicking and typing.
I am unable to find any relevant example scripts to get started and do not know what I am doing with ECMA script. I last worked with javascript 20 years ago. I am quite willing to learn but am getting nowhere so far.
TIA