QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.24.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 7
  • Private
Attached to Project: QCAD Bugtracker
Opened by Johan Persson - 26.12.2019
Last edited by Andrew - 08.01.2025

FS#2018 - Layer visibility setting per view/view-port

In a medium complex drawing it’s often too much details to have all layers in a drawing visible at once. Also, it is of great importance to be able to have a single model to avoid duplication of work and risk inconsistency.

So i would like to create a number of views where each view has selected layers visible (that makes sense for the purpose of the view) and then assign the views to different layout blocks (using view-ports) in paper-space to be able to setup printing of several views on the same page/PDF

This also means that view-ports would have to be aware of what view they are displaying (if any besides the standard-view).
This will then make it possible for printouts of different views with selected layers visible (different for each view and view-port) and still have only one model. Today this is not possible.

As it is today the only limited workaround is to set the layers you want to display, print/PDF of that viewport on separate page, and then change it for the next page, and so on. The big drawback is that you cannot have two different views/view-ports on the same page with different layers visible. Also, for large drawing it is painful to have to do a lot of manual setup for each rendering of the complete drawing.

Closed by  Andrew
08.01.2025 21:08
Reason for closing:  Implemented
Admin
Andrew commented on 26.12.2019 17:14

Perhaps layer states could make your life easier already:
https://qcad.org/en/tutorial-working-with-layer-states

Ethan P commented on 05.12.2020 17:11

Layer states is a work-around, but by no means is it a practical solution. If you want to print a multipage drawing set, selectively controling layer on/off states per viewport is absolutely essential.

Jacob Floyd commented on 08.01.2025 15:13

Linking layer state to viewport (or even to Paper_Space) would be great.

I'm dividing a drawing into (1) Paper_Space + (1) viewport per page of the final printout. I'm making the printout for a permit application that requires I provide the as-built and the planned changes on separate pages, which means I need to hide/show different layers for each Paper_Space. I wish I could just activate a Paper_Space instead of both switching blocks and layer states.

Is there a way to have a macro run when activating a Paper_Space or the Model_Space block? If so, then the macro might be able to handle activating the correct layer state for me.

Admin
Andrew commented on 08.01.2025 21:07

Note that the current development snapshots (available from your download link) allow you to manage layer visibility per viewport by double-clicking on the viewport or choosing Draw > Viewport > Manage Viewport Layers.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing