Page 1 of 1

Bulk conversion of dwg2dxf files

Posted: Fri Oct 24, 2025 9:31 pm
by wesolcmg
Hello.
I write a little in Python, but QCAD doesn't work with Python.
If I have a lot of DWG files to convert to DXF, what can I do without manually opening and processing them?

Re: Bulk conversion of dwg2dxf files

Posted: Sat Oct 25, 2025 4:26 am
by CVH
Hi, and welcome to the QCAD forum.

Please refer to the OS command line tool dwg2dwg / pdf2dwg.
(= also dxf2dxf, dwg2dxf, dxf2dwg, pdf2dxf)

For a bulk conversion you need to write a batch file that cycles all your DWG files and calls pdf2dwg for each.
Refer to your OS reference for creating a batch/bash script.
Or search the forum on these keywords for a few simple examples


DXF and DWG are both QCAD Pro native CAD formats.
First ask yourself if the conversion is really necessary.
DWG is a binary format while DXF is textual and typically much larger.

The origin of the DWG (or DXF) files matters.
A file created outside QCAD may include unsupported things and these will not be include in the conversion.
Some specific things can be supported differently by QCAD and a conversion doesn't fix those for the use in QCAD.

Regards,
CVH