Page 1 of 1

dwg2dwg command capability.

Posted: Mon Dec 02, 2019 5:30 pm
by dmitri.shilov
Good morning,

My company has been using DraftSight and we are in the process of transitioning from it. All of our drawings are in various versions of .DWG format saved over the years. I tried using dwg2dwg command (.\dwg2dwg -f -o converted.dxf t original.dwg) and it seems to be using whatever version the original .dwg file is for the new .dxf. Is there a way to force the dwg2dwg to convert to a specific .dxf version regardless of original?

Re: dwg2dwg command capability.

Posted: Mon Dec 02, 2019 8:13 pm
by andrew
Yes, there's a command line switch for that:

Code: Select all

-r RELEASE
See also:
https://qcad.org/en/products/qcad-comma ... ls#dwg2dwg

For example -r R12 or -r R18 etc.

Re: dwg2dwg command capability.

Posted: Tue Dec 03, 2019 12:47 am
by dmitri.shilov
Thank you, that's what I was looking for!

I've tested out a script that will crawl our directories finding all the .dwg files and converting them to the latest .dxf, but it's slow - is the speed throttled in the Trial Version? Part of the script says: "Your script will start in 15 seconds..."

If the delay is gone in full version, that's a slam dunk for us!

Re: dwg2dwg command capability.

Posted: Tue Dec 03, 2019 8:38 am
by andrew
dmitri.shilov wrote:
Tue Dec 03, 2019 12:47 am
Thank you, that's what I was looking for!

I've tested out a script that will crawl our directories finding all the .dwg files and converting them to the latest .dxf, but it's slow - is the speed throttled in the Trial Version? Part of the script says: "Your script will start in 15 seconds..."

If the delay is gone in full version, that's a slam dunk for us!
Yes, there's a 15sec delay for every conversion (Trial limitation).
You may also want to convert multiple files concurrently using background tasks and the wait command to maximise usage of your CPU cores.