Page 1 of 1

[SOLVED] dwg2pdf: export sheets (layouts, paper spaces)

Posted: Tue Jun 09, 2020 8:28 am
by louis
Hello,
I expected a weird behaviour on QCAD vs Autodesk. I have a DWG file and I uploaded it on Autodesk online, on ontodesk we can see diferents models and sheet (img1) but when I open the file with QCAD I have only the plan. Why ?

Can we export the same data (sheet + plan) ?

If anyone has the answer I would be thankful

Debian 10
QCAD version 3.22.1

The ZIP file contains many screenshot and the DWG file
If you want to check on autodesk: https://viewer.autodesk.com/designviews

Re: How rto show sheet and plan

Posted: Tue Jun 09, 2020 8:39 am
by andrew
You can find the "Sheets" under View > Blocklist. Sheets are also called "layout blocks" and are indeed special blocks.

Re: How rto show sheet and plan

Posted: Tue Jun 09, 2020 9:22 am
by louis
Thanks but I would like to export it with command lide so I used this:
/[PATH]/dwg2pdf -platform offscreen -c -a -f -block=RDC,Model,SS -outfile=pdfOut.pdf dwg9Juin.dwg

it works but I want to use regex instead of name because I don't know all the time the name, how can I do that ? with -block=/.*/ or /*/ there is no result

Do you have any idea ?

Re: How rto show sheet and plan

Posted: Tue Jun 09, 2020 9:28 am
by andrew
I would like to export it with command lide
Please do mention these details, so we can help efficiently, thanks.

The regular expression can be specified as:

Code: Select all

-block=".*"

Re: dwg2pdf: export sheets (layouts, paper spaces)

Posted: Tue Jun 09, 2020 9:38 am
by louis
Ok thanks you !
Have a great day !

Re: [SOLVED] dwg2pdf: export sheets (layouts, paper spaces)

Posted: Tue Jun 09, 2020 9:42 am
by louis
Note for developers: If you want to export only Paper_Space or Model_Space use -block=".*Paper.*",".*Model.*"