Layer visibility history?

Post questions on how to use or achieve an effect in Inkscape.
theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Layer visibility history?

Postby theozh » Thu Apr 27, 2017 10:28 pm

For some drawings I am working in layers (about 20 to 50) to better seperate objects. In order to select some objects in some layer it is convenient to hide all the other layers. This can be done by two mousclicks. Fine!
Then, I am doing my modifications on these objects and now I want to continue working as before.
However, if I hid all layers I only have two options:
a) Show all layers and hide the unwanted one after another
b) Individually select all the layers I want to see again
This can be pretty tedious e.g. if you had 24 layers of your 50 layers visible. This hide & seek will recur again and again and again...
Is there maybe anything like a "Layer visibility history"?
Maybe worth a feature request?
Any other ideas to avoid tedious clicking?
Win7/64, Inkscape 0.92.2

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Layer visibility history?

Postby tylerdurden » Thu Apr 27, 2017 11:08 pm

You could try selection sets panel and objects panel:
    Select the layers to hide and change their mode to group using the objects panel (layer icon.. hard to see)
    add the layers to a selection set in the selection sets panel
    hide selected layers in objects panel
    Change selected layers back to layer mode
    show layers using objects panel
    edit other layers, etc.
    Click on selection set to select previously added layers and use objects panel to hide them

Layers panel not needed for this method, AFAICT.
Different sets could provide control for hiding different groups/layers.
Note that document cleanup may wipe selection sets!
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Layer visibility history?

Postby brynn » Thu Apr 27, 2017 11:19 pm

I think there either is already a feature request....or it seems like I read about a new button that hides all layers at once. Keeping in mind my memory is not very dependable, there's a chance it might be available in the dev version. Let me try and find what I read....

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Layer visibility history?

Postby brynn » Thu Apr 27, 2017 11:31 pm

Oh ok, my bad. I misread your message.

Actually what I was thinking of is already available, which is hide all layers.

I've worked a lot in files with many layers, and I know it's frustrating hiding and unhiding. I've partially improved the situation by using sublayers. That allows you to hide as many sublayers as you've created by hiding the parent layer. And among the sublayers, some can remain open and some remain closed. And when you unhide the parent layer, only the sublayers which were visible before, are visible again.

You have to think through how you're planning to organize your drawing before you start.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Layer visibility history?

Postby tylerdurden » Fri Apr 28, 2017 2:01 am

Here's an example:
When Set "Five and Three" is clicked in the sets panel, layers 3 and 5 are selected and can be hidden by clicking on just one of their eye icons in the objects panel.
Image

They are still layers and the hierarchy has not changed .
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: Layer visibility history?

Postby theozh » Fri Apr 28, 2017 4:18 am

tylerdurden wrote:...add the layers to a selection set in the selection sets panel...

Sorry, how do I add a layer into a selection set?
Tool tip says: '+': Add selection to set; 'x': Remove from selection set
Left-Mouseclick? Drag&Drop? Type the layer name? ... I don't see how... Really not intuitive at all... :?
Win7/64, Inkscape 0.92.2

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Layer visibility history?

Postby tylerdurden » Fri Apr 28, 2017 4:40 am

Ja, it's still a little wonky, especially hard to see the icon change the layer to group mode...

Image

Switching the layer to group allows making it part of a set. Then it can be changed back to a layer and still work in the set.

(The tooltip says "x" to remove from a set, but it's actually the trashcan.)
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: Layer visibility history?

Postby theozh » Fri Apr 28, 2017 4:44 am

Thank you @tylerdurden for clarification.
In the meantime, I found this here:
http://inkscape.13.x6.nabble.com/Select ... 73823.html
I will further try to understand your process...
Win7/64, Inkscape 0.92.2

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Layer visibility history?

Postby Moini » Fri Apr 28, 2017 7:43 am

For me, it's an x, depends on the desktop theme, I think (related: the discussion about some icons not being configurable).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”