QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category Command line tools → dwg2pdf
  • Assigned To
    Andrew
  • Operating System Windows (All)
  • Severity High
  • Priority Very Low
  • Reported Version 3.23.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Frankie - 10.10.2019
Last edited by Andrew - 10.10.2019

FS#1966 - Add a new option to convert all blocks to pdfs

Relative to https://www.ribbonsoft.com/bugtracker/index.php?do=details&task_id=1965

I suggest that if dwg2pdf have an new options that can convert all the blocks to pdf.
Now, I need to know all the block names before converting.

But if I put qcad on server, the computer won’t know how many blocks in the dwg and their names.

For examples:

There are 4 blocks in dwg.block1, block2, block3, block4

Command line: ./dwg2pdf -block-all path

Result: block1.pdf block2.pdf block3.pdf block4.pdf

Closed by  Andrew
10.10.2019 08:07
Reason for closing:  Works for me
Admin
Andrew commented on 10.10.2019 08:04

Try:
-block=".*"

dwg2pdf cannot create multiple PDF files, so you will get a single PDF with multiple pages.

Alternatively, you can get a list of all blocks first with:
dwginfo -b file.dwg

Then, you could iterate through the block list and create PDFs.

Frankie commented on 10.10.2019 08:23

Thank you!!!!!!!!!!!!!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing