[solved] Command Line Tools

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
dfriasb
Senior Member
Posts: 119
Joined: Thu Mar 10, 2016 1:08 pm
Location: Calafell, Tarragona, Spain

[solved] Command Line Tools

Post by dfriasb » Mon Jan 25, 2021 9:07 pm

Hello all,

I'm trying to use dwg2dwg command line tool with qcad-3.24.3-pro-linux-x86_64. I'm getting "No such file or directory" when trying to execute it in shell. I was looking in dwg2dwg file and I found it is asking for this file:

Code: Select all

scripts/Pro/Tools/Dwg2Pdf/Dwg2Pdf.js
I have no Pro folder inside "scripts".
Maybe I'm losing something... :( Can anyone help me? Thanks a lot.

Regards,

David
David Frías Barranco | architect
[email protected] | davidfriasarquitecto.es

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

Re: Command Line Tools

Post by andrew » Mon Jan 25, 2021 9:51 pm

Scripts are compiled into plugins (virtual file system). This should not be the problem.

How do you call dwg2dwg?

The correct order of arguments is for example:

Code: Select all

./dwg2dwg -o output.dwg input.dxf
See also:
https://qcad.org/en/products/qcad-comma ... ls#dwg2dwg

User avatar
dfriasb
Senior Member
Posts: 119
Joined: Thu Mar 10, 2016 1:08 pm
Location: Calafell, Tarragona, Spain

Re: Command Line Tools

Post by dfriasb » Tue Jan 26, 2021 9:58 pm

Thanks a lot!
David Frías Barranco | architect
[email protected] | davidfriasarquitecto.es

Post Reply

Return to “QCAD 'How Do I' Questions”