Page 1 of 1

Minimal install for just dwg2csv usage?

Posted: Wed Mar 20, 2024 6:16 pm
by JaredDavis42
Hi,

Couple of questions on dwg2csv. (breaking the one question rule but keeping to one topic)

Is there a minimal install for just using dwg2csv in a batch operation?

Is there a way to eliminate warning messages during processing?
eg
Warning: cannot assign original handle to object "0x158"
Warning: collision with object of type: 18
Warning: new handle "0x16c"

Is the file Dwg2Csv.js available anywhere?

Thanks,

Jared

Re: Minimal install for just dwg2csv usage?

Posted: Wed Mar 20, 2024 6:29 pm
by andrew
JaredDavis42 wrote:
Wed Mar 20, 2024 6:16 pm
Is there a minimal install for just using dwg2csv in a batch operation?
No. However, you could remove the "doc", "examples", "libraries", "themes" and "ts" folders after installation without affecting the command line tools.
JaredDavis42 wrote:
Wed Mar 20, 2024 6:16 pm
Is there a way to eliminate warning messages during processing?
Depending on your system, you can use 2>/dev/null (unices) or similar to redirect warnings to stderr (please refer to the command line documentation of your system for details).
JaredDavis42 wrote:
Wed Mar 20, 2024 6:16 pm
Is the file Dwg2Csv.js available anywhere?
No, this is compiled into a (proprietary) plugin.

Note that Dwg2Csv.js is just a small script (<600 lines) that heavily relies on the DWG import functionality and CAD kernel and DWG format plugin of QCAD.