Viewports in common Block

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 your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3364
Joined: Wed Sep 27, 2017 4:17 pm

Viewports in common Block

Post by CVH » Sat Oct 29, 2022 6:11 am

I discovered that one can add Viewports to common Blocks.
https://www.qcad.org/rsforum/viewtopic. ... 965#p38958

Normally Viewports are intended to be inserted in Layout Blocks.
One can not add a Viewport of a part of Model_Space to the Model_Space Block itself.
That will show no preview at all and on placement we get an exception warning.
'Cannot create viewport in model space.'

But one can add a Viewport to a common Block, it shows a preview and there is no exception on placement.
This is probably not 'intended behaviour'. :!:
If one inserts such a block in Model_Space then the Viewport area doesn't display the content.
Not in model view, nor on paper.
The Viewport contour is handled just the same as on a Layout.

Viewport-CommonBlock.dxf
Various comments included
(126.31 KiB) Downloaded 371 times

Tested/created with QCAD Pro 3.27.6.0 Win7 32bit msi installer.
PS: The behavior of the file is exactly the same under 3.27.8 :wink:

Regards,
CVH

Post Reply

Return to “QCAD Troubleshooting and Problems”