Add a viewport to a paper space block (experimental)

Please use this forum to post feedback and suggestions related to QCAD.

Moderator: andrew

Post Reply
User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 10:34 am

Hi Andrew,

This sounds interesting, at the moment I cannot acheive anything with this, how would you potentially see this working?

Clive
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

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

Re: Add a viewport to a paper space block (experimental)

Post by andrew » Fri Oct 06, 2017 11:11 am

Have a look at the attached file. I've added two viewports to the block "*Paper_Space0". A viewport is essentially a clipped block reference to the model space block or a window that shows an area of the model space if you want.

You can add new viewports with that tool. However, you will currently have to adjust its parameters manually using the property editor to get the area you want.

Model space (main drawing):
model_space.png
model_space.png (91.64 KiB) Viewed 2194 times
Paper space (two viewports):
paper_space.png
paper_space.png (119.76 KiB) Viewed 2194 times
Attachments
layout_new.dxf
(153.57 KiB) Downloaded 31 times

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 11:56 am

Andrew, thanks, yes based on your example this is exactly what I would expect, however using your drawing I have tried to do the same thing with another part and I cannot get what I need showing up in the layout space - is there specific steps I need to take please?
V1.jpg
V1.jpg (33.65 KiB) Viewed 2193 times
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

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

Re: Add a viewport to a paper space block (experimental)

Post by andrew » Fri Oct 06, 2017 12:04 pm

You'd have to set the viewport parameter View Center (you can usually leave View Target alone). View center is the coordinate of the model space shown at the center of the viewport.

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 12:15 pm

Okay thanks, I presume these options are not available yet?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

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

Re: Add a viewport to a paper space block (experimental)

Post by andrew » Fri Oct 06, 2017 1:36 pm

You can only view and change these properties through the property editor (after the viewport has been created) at this point.

The idea is that in a future version, you can double-click a viewport and then pan / scale it as desired.

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 1:48 pm

Thanks, I used the view port tool and selected a part on your drawing.
V1.jpg
V1.jpg (57.93 KiB) Viewed 2182 times
...and set the viewport centre but when I double click the layout space I get nothing at all!
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 1:51 pm

Maybe I'm missing some steps in between somehow?

1.Select the viewport in model space.
2. In the property editor add the centre point.
3 ?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

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

Re: Add a viewport to a paper space block (experimental)

Post by andrew » Fri Oct 06, 2017 1:56 pm

The viewport has to be created in paper space, not model space:

- Double click on block "*Paper_Space0" in the block list
- Misc > Draw > Viewport > Add Viewport
- Click first corner of the viewport
- Click second corner of the viewport
- Select viewport
- Adjust scale, view center in property editor

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 2:04 pm

Okay thanks, so I have double-clicked on the paper space block. How do I only select part of the drawing?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

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

Re: Add a viewport to a paper space block (experimental)

Post by andrew » Fri Oct 06, 2017 2:09 pm

That's where the scale and view center properties come into play. You'd have to play with those properties to get the (partial) view that you want (see above).

Note that this is all very experimental and clearly not user friendly. You might just want to wait for a future release to play around with viewports.

User avatar
Clive
Moderator / Drawing Help
Posts: 1303
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Add a viewport to a paper space block (experimental)

Post by Clive » Fri Oct 06, 2017 2:16 pm

Thanks Andrew, completely understand and yes I am more than happy of course to wait, just couldn't help not to play though at the moment :D

For now I can see this being very useful for selecting full drawing layouts though, but of course I fully understand that in time it will function better, thank you Andrew, truly this will be great :wink:
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

Post Reply

Return to “QCAD Suggestions and Feedback”