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?
Bulk conversion of dwg2dxf files
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
wesolcmg
- Registered Member
- Posts: 1
- Joined: Fri Oct 24, 2025 9:21 pm
-
CVH
- Premier Member
- Posts: 4955
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Bulk conversion of dwg2dxf files
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
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