Change the dimension precision (or other settings) using 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
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Change the dimension precision (or other settings) using command line tools

Post by andrew » Thu Apr 04, 2019 12:29 pm

From a QCAD user:
How can I change the dimension precision settings using QCAD command line tools?

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

Re: Change the dimension precision (or other settings) using command line tools

Post by andrew » Thu Apr 04, 2019 12:37 pm

You can use the command line tool dwg2dwg to change header variables such as the dimension precision:

Code: Select all

dwg2dwg -set=DIMDEC:0 -f -o intermediate.dwg t input.dwg
Another tool can then be used to produce the desired output if applicable:

Code: Select all

dwg2pdf -f -o output.pdf intermediate.dwg
See also:

Code: Select all

dwg2dwg -h
For a list of command line tools included in QCAD, please refer to our web site.

Post Reply

Return to “QCAD 'How Do I' Questions”