Hide/unhide rest of model



When I’m editing a nested component/group inside a component/group the ‘hide rest of model’ works only for the complete model. It toggles the complete model on of off.

Is it possible to toggle between ‘show rest of component’ on/off instead of ‘show rest of the complete model’ when editing a group or component?

This is a time saver because I can see exactly what I’m doing when editing a nested group inside a component because it shows me what else is inside this component.



Hello and there is a setting from the View Tab for hiding rest of model or similar components. Toggling both on or one or the other as your needs suit. You just select the component and when you open it the selected effect will show on screen. You can assign hot keys for them and make them darker or lighter. The screen shot may help and this is for components. Many here have there own views on components vs. groups. I make everything components and use “make unique” to separate it. If I use group option it is just to help move a piece so it wont stick, until I like it. Another trick if you are changing a piece in your model that is a component is to. Just move/copy it way off to the side, then you can scale it up to get a better view and modify in anyway. When your happy with it, just delete it!! As the original will reflect all the changes and you wont have to try and put it back were it was. Or work around other parts in that area. Hope it helps and have fun!! …Peace…
edit: I use Ctrl+H for “hide all” and Shift+H for “hide similar”, what ever helps you remember…


As an alternative, maybe you could create a layer for the mother component, create a scene which only has that layer visible, and then have neither other components nor the rest of the model hidden. That should show all of the child components together without pieces disappearing as you edit deeper into the nestings.


I definitely agree, this would be a really great option to add. Many times when editing a nested group or component, you only want to see the parent of that group or component for reference and not the entire model. Hope this becomes an option!


This frustrated me as well. I use Shift-H as a shortcut for Hide Rest of Model, which is usually very convenient (even in the midst of drawing geometry). But sometimes there is just too much other junk in the way in the complete model. I would often rely on x-ray vision to “peer through” the unrelated junk to find reference geometry, but that can be challenging. I don’t really think about layers for handling this, since I use them more to group conceptual entities independent of their nesting (e.g. “furniture”, “people”, “building”).

What I really wanted was similar to what you ask for: the ability to hide the rest of the model except everything up to the top level of this opened and active group or component. I.e. not just leaving parents visible, but grandparents and so on up to the root of the tree. E.g. in an outline of:

  • Component 1
    • Group 1
    • Group 2
      • Component 3
      • Group 3
  • Component 3
    • Group 4
    • Group 5
  • Group 6
  • Group 7

If I was say actively editing Group 5, I could toggle Component 1, Group 6, and Group 7 to hidden, leaving Component 3 visible. And toggle them back again. So I wrote the attached plugin which does just this.

Just drop it in your Sketchup’s plugin folder. You’ll see a new menu item in Extensions. I personally assign it to Control-Shift-H. If you run it deep inside a hierarchy, it will hide every container at the top level that is not a direct ancestor of the current group or component. It leaves everything on hidden layers alone. If you back out to the top level without unhiding (by clicking, Esc key, etc.), it will unhide all top level containers for you. And if you directly open other nested geometry under another top-level ancestor while the option is active (e.g. from the outliner), it will reapply it. Probably easiest just to try it to get the gist.

I find it incredibly useful to toggle visibility of both rest-of-model and only-this-context-up-the-tree. Obviously, if you have all your entities in a single top level group or component, it won’t be useful. But then again that style of hierarchy isn’t so useful anyway.

Hope people enjoy!

hide_others_toplevel.rb (2.1 KB)


You can save out the component to a file and edit that file with the rest of model shown. This also increases performance, reduces clipping and makes orbit work better.


Fantastic, thank you!! I’ve been using this for a short while and it definitely speeds up my drawing.

If possible, I would love to see one alternative: Is it possible to alter the plugin so that instead of showing the entire parent tree, it only shows the immediate parent? (or perhaps the parent + grandparent)?

The reason I ask is that because of the way we use nested groups/components(each of our top-level components has a whole lot of stuff nested inside), there can still be a lot of geometry obscuring the viewing area even when using your plugin.

Thanks again for making this, cheers.