dwg2pdf cli - Hidden Objects

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules
Always indicate Operating system, QCAD version
Attach Drawing files, Screenshots
Post Reply
User avatar
regnete
Junior Member
Posts: 13
Joined: Tue Dec 03, 2019 12:34 pm
Location: Germany

dwg2pdf cli - Hidden Objects

Post by regnete » Fri Dec 06, 2019 2:37 pm

The createtd PDf contains objects which are hidden in the dwg (and should therfore be hidden in the pdf).

I create the pdf with the following command:

Code: Select all

dwg2pdf.bat -n -f -c -block=.*Model_Space.*,.*Paper_Space.* test_hidden_objects.dwg
The expected output is shown in test_hidden_objects_expected.pdf. The actal output is shown in test_hidden_objects_qcad.pdf.

Please watch the differences in the lower right area.
Attachments
test_hidden_objects_qcad.pdf
(24.03 KiB) Downloaded 10 times
test_hidden_objects_expected.pdf
(4.44 KiB) Downloaded 9 times
test_hidden_objects.dwg
(195.6 KiB) Downloaded 9 times

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

Re: dwg2pdf cli - Hidden Objects

Post by andrew » Fri Dec 06, 2019 2:44 pm

Is this a dynamic block with multiple states? If so, this is not supported in QCAD.

User avatar
regnete
Junior Member
Posts: 13
Joined: Tue Dec 03, 2019 12:34 pm
Location: Germany

Re: dwg2pdf cli - Hidden Objects

Post by regnete » Fri Dec 06, 2019 3:04 pm

Yes, they are making heavy use of dynamic blocks.
Are you planing to implement support for this?

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

Re: dwg2pdf cli - Hidden Objects

Post by andrew » Fri Dec 06, 2019 9:30 pm

Not anytime soon I'm afraid, no.

User avatar
regnete
Junior Member
Posts: 13
Joined: Tue Dec 03, 2019 12:34 pm
Location: Germany

Re: dwg2pdf cli - Hidden Objects

Post by regnete » Mon Dec 09, 2019 8:13 am

Could we speed up your efforts with a donation?
Currentyl qcad is the the most reliable solution we found to convert dwg to pdf on the server.
We found only two issues which are relevant to us:
  • lack of support for dynamic blocks
  • Problem when generating multi page pdfs with differing page sizes
We would be willing to support your efforts on providing a solution to these issues with a one time donation?
We don't need support for editing blocks in QCad, we only need support for correct display in exported pdf.

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

Re: dwg2pdf cli - Hidden Objects

Post by andrew » Mon Dec 09, 2019 2:20 pm

I've had a brief look into dynamic blocks. Hiding those invisible entities of an inactive dynamic block states should be possible with 2-3 hours effort. I will contact you about a possible sponsoring of such a feature.
regnete wrote:
Mon Dec 09, 2019 8:13 am
Problem when generating multi page pdfs with differing page sizes
Can you please elaborate on that? Should the page size vary from page to page? What would the pages show? Thanks.

User avatar
regnete
Junior Member
Posts: 13
Joined: Tue Dec 03, 2019 12:34 pm
Location: Germany

Re: dwg2pdf cli - Hidden Objects

Post by regnete » Mon Dec 09, 2019 3:51 pm

Thats sounds great!

I will contact my customer to provide a slim test case for the multi page issue and post it here.

User avatar
regnete
Junior Member
Posts: 13
Joined: Tue Dec 03, 2019 12:34 pm
Location: Germany

Re: dwg2pdf cli - Hidden Objects

Post by regnete » Tue Dec 10, 2019 11:06 am

The multi page issue has disappeared as our customer changed the requirements.
So just dynamic blocks feature is pending.

Post Reply

Return to “QCAD Troubleshooting and Problems”