For quite long time, I was looking for a faster way to toggle (or toggle off) visible / selectable and renderable for many objects, as illustrated below:
I know we can do the relatively quick select by dragging in the Outliner, but it is not so fast though; Also, we can try H and AltH, as well as Ristrict Render, but the objects must be selectable first.
So, how can I do this in a faster way? Script would be acceptable, if necessary.
Edit:
To simplify my question in another way: Is there a way to make all hilighted items listed in Outliner to have either of these properties unified? For example, I want to have all objects selectable, what should I do instead of having to toggling them one by one? Intuitively, I tried to press A twice in Outliner, then hit S, I thought it would work similar to what A works everywhere, I mean a kind of "unified" toggle, to toggle all of them on or off, regardless their initial slectibility. But appearently it cannot be done in this way. So I'm looking for a better way to do this.
The only way I can think is to group them all first, then switch the outliner display type to Groups, now I can toggle them all by a single click. However, four problems here:
- Again, It doesn't work with the unselectable or invisible ones, which cannot be grouped since I cannot even select them.
- it means I have to give up the current selection first, which is sometimes unwanted.
- Even if all objects are initially selectable and I don't care to give up the current selection, creating a temporary group then delete it afterwards seems not as fast as expected.
- I'm particularly talking about a complicated scene with a large number of objects, which makes Outliner the important place to organize them.