PDA

View Full Version : Unhiding All Layers



Ma3rk
07-09-2018, 09:55 AM
Hey Folks.

Quick question: Anyone know of a script or such that can unhide all layers w/o having to scroll back up to the top of the Layers Panel?

I'm cleaning up some older FBX kit-bash kits, some with hundreds of layers & this all gets reduced down to less than 20. Ya, I've the elevator handle on the right side of the Layers panel, but I'd rather have a Hotkey.

Sensei
07-09-2018, 12:13 PM
If you want to make the all layers foreground layers simply click checkmark below F column.

TrueArt's Modeling Pack http://modelingpack.trueart.eu
has useful tools for work in multi-layer object called Reveal Fg Layers and Reveal Bg Layers.
Here is video:

https://www.youtube.com/watch?v=xtBgkPTRmtU

There is also layers preset system. I don't think so I have made video of it. But it allows storing/restoring which layers user made fg and which bg, and then quickly set the same configuration. User can make, go next, go previous, delete, such presets.

Matt
07-10-2018, 09:34 AM
Try these, archive contains:

Select_All_Layers.ls
Selects all layers

Select_All_Empty_Layers.ls
Selects all empty layers

Select_All_Data_Layers.ls
Selects all layers that have data on them

142169

Sensei
07-10-2018, 09:46 AM
Matt,
Perhaps ma3rk has polygons which have been hidden to be seen by user in some layers (in hundred others..), and wants them to become visible..
In LWSDK there is no way to learn whether some polygons have been hidden.
There are three commands which can be executed from CmdSeq plugin class SEL_HIDE, SEL_UNHIDE and INVERT_HIDE.
But state of polygon (whether it is hidden or not) is not possible to get directly (well, we could scan polys, make db, call INVERT_HIDE, scan again, make database, call INVERT_HIDE again..)...
It's problematic in such plugins like VirtualMirror and EasySpline. They can't use CmdSeq plugin class.

Ma3rk
07-10-2018, 12:29 PM
Try these, archive contains:

Select_All_Layers.ls
Selects all layers

Select_All_Empty_Layers.ls
Selects all empty layers

Select_All_Data_Layers.ls
Selects all layers that have data on them

142169

I'll certainly take a look. Thanks.

Ma3rk
07-10-2018, 12:37 PM
Matt,
Perhaps ma3rk has polygons which have been hidden to be seen by user in some layers (in hundred others..), and wants them to become visible..
In LWSDK there is no way to learn whether some polygons have been hidden.
There are three commands which can be executed from CmdSeq plugin class SEL_HIDE, SEL_UNHIDE and INVERT_HIDE.
But state of polygon (whether it is hidden or not) is not possible to get directly (well, we could scan polys, make db, call INVERT_HIDE, scan again, make database, call INVERT_HIDE again..)...
It's problematic in such plugins like VirtualMirror and EasySpline. They can't use CmdSeq plugin class.

Wow Sensei. About 93% of that went right over my head so I'll take your word for it. But what I'm talking about is like this:

142177

Now imagine over 700! The video you posted is simply doing what I've been doing (having to do), but you only had a page or so to scroll through. My overly caffinated mouse scrolling thumb would rather have a simple hot key as the ONLY place to unhide is at the top of the Layers Panel just below the F. Why is that spot sacred & un-accessable to assign a key is what I'm curious about?

Matt
07-10-2018, 01:33 PM
Those scripts I posted will do the trick.

Matt
07-10-2018, 01:34 PM
Matt,
Perhaps ma3rk has polygons which have been hidden to be seen by user in some layers (in hundred others..), and wants them to become visible.

He said Layers, not Polygons