Eneroth Swift Layer Visibility Control
Swiftly hide the layer of the selected entities or show all layer in the active drawing context with just one click.
Eneroth Swift Layer Visibility Control

I have found I spend quite some time in the Layer Panel in complex models merely to search for a specific layer that I need to either hide or show. To avoid wasting time and to be able to model with less distractions I created this plugin that eliminates the need to manually search for a specific layer and click it with the mouse.

The plugin allows you to, with just one click, hide the layer(s) of the selected entity(ies). It can also just as quickly show all layers used in the active drawing context. To avoid cluttering the view with layers you don't need to show there's a third function than re-hides all layers that were just shown, except those associated with the selected entities.

All these actions can be performed even quicker with shortcuts. Point the shortcuts to Extensions > Eneroth Swift Visibility Control > <Action Name>. I use Ctrl+L to hide layers, Shift+L to show layers and Ctrl+Shift+L to re-hide layers.

Typical use cases

Hide the layer used by a specific entity, e.g. the Furniture layer:
1. Select a piece of furniture.
2. Click the Hide Selected layers button.

Show a single layer that is hidden, e.g. a 2D elevation the 3D model is based on:
1. Click the Show Active Layers button.
2. Select the 2D elevation in the model.
3. Click the Re-Hide Last Shown Layers Except Selected button to hide any undesired layer that was just shown, e.g. 2D plans.

Known errors

Because of a bug on Mac the plugin's buttons don't get enabled when the slection changes. The toolbar still works though which means custom shortcuts also work.

Reviews

What Do You think about a IFC Viewer, that show/hide all IFCBeam or/and IFCColumn etc. and than be saved in a scene without the use of layer.

lg
Lars

Eneroth3's picture

Hello Lars

It would be very possible to set the visibility state on instances based on classification.

When it comes to saving this visibility state to scenes, SketchUp only supports that in the top level drawing context. Because of this I find that feature quite useless. I always have it turned off for my scene options and use Hide independently of scenes, either for things that should be permanently hidden in all scenes or when I quickly hide something to work on whatever is behind and then manually show it again. I don't know how other users use per scene visibility or how reliable it can be regarded.

A more reliable approach could be to assign layers, but the document easily feels noisy and messy when there are layers you have not created yourself. I'm a little reluctant to user settings as it makes the extension more complex and therefore harder to understand, it makes working on multiple machines harder, it means there are more things that can break and it means there are more phrases to translate if the extension is ever to be localized. I don't know what approach would be the best here.

Christina

If the visibility, for example show "IFCColumn only" is turned on, you can easily save it in a Scene or put it on a Layer. I didn´t meant that it should automatically save all "IFCColumn" Groups in a Scene, It should only hide the rest, and how you save this visibility, if in a Scene or select all visible and put it on a Layer is the choice of the User. Normally I´m to lazy to use the classification, but a possibility to have a visibility based on them could change that. What Do you think, is it a good Idea or a bad one and will you make it, and if, did I get a free copy? ;)

Lars

Andres C.'s picture

Great Plug in! works perfect!

48 users
Size:
28.31 KB
Version:
Eneroth Swift Layer Visibility Control (1.0.0); August 9, 2017
Price: 
$10.00
Trial Period: 
14 days
Number of Views: 
986
Category: 
SketchUp Compatibility: 
OS Compatibility: 
Languages: