Whether command line supports identifying and exporting different layers?

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
dreamskyer
Newbie Member
Posts: 6
Joined: Tue Jun 10, 2025 12:10 pm

Whether command line supports identifying and exporting different layers?

Post by dreamskyer » Tue Jun 10, 2025 12:35 pm

Problem:Whether command line supports identifying and exporting different layers?

Expected output: Export different BMP/PNG files for each layer.

Environment
Linux Centos7
Qcad 3.23.3
Attachments
A.dwg
(7.66 MiB) Downloaded 174 times
Expected output2.png
Expected output2.png (95.82 KiB) Viewed 15909 times
Expected output1.png
Expected output1.png (274.07 KiB) Viewed 15909 times

User avatar
andrew
Site Admin
Posts: 8774
Joined: Fri Mar 30, 2007 6:07 am

Re: Whether command line supports identifying and exporting different layers?

Post by andrew » Tue Jun 10, 2025 12:50 pm

You can use the -layer switch toi export only a set of given layers. Regular expressions are supported.

E.g.

Code: Select all

-layer=A,B,X.*
to export layer A, layer B and all layers starting with X.

Post Reply

Return to “QCAD Troubleshooting and Problems”