This addon simplifies the management of Restrict Viewport Selection of objects, making it available directly in the viewport instead of using Outliner every time.
In the first thing I did this addon for animators.
Often they do not need to select meshes and they need only armatures.
This addon is intended to simplify their life.
One idea: Lamp meshes. Sometimes I wanna select everything except lamps, but I use normal lamps and meshes that are made to be lamps, so now there are no method to make them not selectable. I know it can be little more difficult to do, but the trigger could be a mesh that has only emitter material node. Or something like that.
Nice, very nice. I’ll be using this script
A variation of it I would like to have is “hide by object type”.
I wrote a script like that myself but it’s very simple (it just uses the already available “Select by type” and “Hide” commands) but your way is much slicker.
Also, it would be cool if the manual refresh could be avoided although it’s fairly a good solution.