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

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
louis
Junior Member
Posts: 16
Joined: Mon Oct 07, 2019 1:54 pm

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

Post by louis » Tue Jun 09, 2020 8:28 am

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
Attachments
dwgenplusieurspages.zip
(2.44 MiB) Downloaded 379 times
Capture d’écran du 2020-06-09 09-25-16.png
Capture d’écran du 2020-06-09 09-25-16.png (439.44 KiB) Viewed 4587 times
Last edited by louis on Tue Jun 09, 2020 9:40 am, edited 1 time in total.

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

Re: How rto show sheet and plan

Post by andrew » Tue Jun 09, 2020 8:39 am

You can find the "Sheets" under View > Blocklist. Sheets are also called "layout blocks" and are indeed special blocks.

louis
Junior Member
Posts: 16
Joined: Mon Oct 07, 2019 1:54 pm

Re: How rto show sheet and plan

Post by louis » Tue Jun 09, 2020 9:22 am

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 ?

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

Re: How rto show sheet and plan

Post by andrew » Tue Jun 09, 2020 9:28 am

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=".*"

louis
Junior Member
Posts: 16
Joined: Mon Oct 07, 2019 1:54 pm

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

Post by louis » Tue Jun 09, 2020 9:38 am

Ok thanks you !
Have a great day !

louis
Junior Member
Posts: 16
Joined: Mon Oct 07, 2019 1:54 pm

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

Post by louis » Tue Jun 09, 2020 9:42 am

Note for developers: If you want to export only Paper_Space or Model_Space use -block=".*Paper.*",".*Model.*"

Post Reply

Return to “QCAD 'How Do I' Questions”