DV_Toggle_solo_layer: for solo selected layer. It preserves current states of layers visibility.
DV_Remove_Visibility_Sets: for Remove script stuff from file.
I think I know what you mean: when using alt-click to switch to view only selected layer, and then do the same to switch back, you loose the previous view layer settings making the feature undesirable to use. This is your fix to that problem right? Thanks for sharing!
Daxel wrote: ↑Wed Nov 03, 2021 7:57 pm
I think I know what you mean: when using alt-click to switch to view only selected layer, and then do the same to switch back, you loose the previous view layer settings making the feature undesirable to use. This is your fix to that problem right? Thanks for sharing!
Yes and use alt and click affect on current level of parent. So you have to disable visibility of other layers manually.
But now by run this script every other layers will be hide.
If run it again all layers that were visibile before, will be show again.
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
Daxel wrote: ↑Sun Nov 14, 2021 7:44 pm
I tried it briefly today and it worked fine, pretty cool. Thanks for sharing!
Edit: the "Remove visibility sets", how often do you use it? Maybe I should put it on the menu scripts instead?
Script creates a comp to use in function. This script delete that comp and brings layer states to before use script.i prefer buttons for ability to assign shortkey
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
Greenlaw wrote: ↑Mon Dec 27, 2021 7:19 pm
I typically use Layer Comps to do something like this but it sounds like your script simplifies the task by making it a toggle.
I like simpler! Especially for something I typically need only temporarily.
Will give DV_SOLO a try today davoodice2. Thanks for creating and sharing it.
be careful ! after solo a layer if you create new layers they will be hide with next toggle! I will work on it later.
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
davoodice2 wrote: ↑Mon Dec 27, 2021 7:24 pm
be careful ! after solo a layer if you create new layers they will be hide with next toggle! I will work on it later.
Ah! Thanks for the warning. Will watch out for that.