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
Whether command line supports identifying and exporting different layers?
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.
-
- Newbie Member
- Posts: 6
- Joined: Tue Jun 10, 2025 12:10 pm
Whether command line supports identifying and exporting different layers?
- Attachments
-
- A.dwg
- (7.66 MiB) Downloaded 174 times
-
- Expected output2.png (95.82 KiB) Viewed 15908 times
-
- Expected output1.png (274.07 KiB) Viewed 15908 times
- andrew
- Site Admin
- Posts: 8774
- Joined: Fri Mar 30, 2007 6:07 am
Re: Whether command line supports identifying and exporting different layers?
You can use the -layer switch toi export only a set of given layers. Regular expressions are supported.
E.g.
to export layer A, layer B and all layers starting with X.
E.g.
Code: Select all
-layer=A,B,X.*