How can I use command line to obtain the position information of each layer in DWG/DXF files?
Posted: Wed Jun 11, 2025 2:49 am
"I want to use the following command line instruction:
./dwg2bmp -platform offscreen -zoom-all -width=6000 -height=6000 -window=2000000,-573237.78,3552109.93,643795.06 -flat -f B.dwg to convert B.dwg into a PNG image. However, the file canvas is very large with many blank areas. I want to crop out the blank spaces and only convert the effective layers.
Problem:How can I use command line to obtain the position information of each layer in DWG/DXF files?"
Environment
Linux Centos7
Qcad 3.23.3
QCAD version:3.32.3
./dwg2bmp -platform offscreen -zoom-all -width=6000 -height=6000 -window=2000000,-573237.78,3552109.93,643795.06 -flat -f B.dwg to convert B.dwg into a PNG image. However, the file canvas is very large with many blank areas. I want to crop out the blank spaces and only convert the effective layers.
Problem:How can I use command line to obtain the position information of each layer in DWG/DXF files?"
Environment
Linux Centos7
Qcad 3.23.3
QCAD version:3.32.3