Sketchup Layers vs. Groups & Components

Matt Donley News, Sketchup Tutorials 7 Comments

If you are used to working in a 2D program like AutoCAD or if you’ve ever used Photoshop, you probably understand the basic principles behind using layers. Most people start using Sketchup expecting layers to perform the same way, but quickly find out this is not the case. This article will help you understand how layers work in Sketchup, and also show you why groups & components may be a better way to organize your model.

I should use Layers, right?

When modeling, there are two main things you want to have control over: Organizing the structure, and toggling the visibility of the different entities in your model.

Layers vs groups
Structural organization in Sketchup is handled using Groups, Components and the Outliner window. Groups and components allow you to take any number of edges and faces and place them in an imaginary protective “shell”. This shell allows you to move and manipulate a collection of entities at the same time, and the contents of a group or component become protected from other entities outside of their group.

Traditionally, the term “layers” is used in 2D programs for both structural and visual organization. You can turn layers on or off to control visibility, but they also provide a way to separate objects from each other by assigning them to separate layers. So naturally, when someone comes into Sketchup for the first time, they expect Sketchup layers to behave the same way. Layers actually have a very specific purpose in Sketchup, but it has no effect on the STRUCTURE of your model.

Layers will only change the visibility of an entity.

Think of it like this. If you are standing in a room and someone turns off the lights, can you still interact with the objects in the room even though you can’t see them? Of course! The same goes for layers in Sketchup. When you put something on a layer, it doesn’t isolate or protect it in any way. It only assigns it to a certain “visibility channel”. This allows you to “turn the lights on or off” on any combination of objects, depending upon which layer you assign them to. You can assign individual entities to layers, or better yet, assign a group to a layer and everything inside that group will inherit the same layer assignment.

Now here’s the kicker. groups & components have a built in “Hide” & “Unhide” feature. Coupled with the organizational layout of the outliner window, it makes for a very easy way to manage the visibility of your groups and components while you’re modeling. Since you are already using groups and components to organize the structure of your model (you better be!), why not use groups and components to organize the visibility of your model too?

Advantages of using Groups and Components for organizing structure AND visibility

  • Organizing your model into groups creates a natural hierarchy in the outliner window that makes it easy to hide individual groups or parent groups that contain other groups.
  • While modeling, sometimes you want to turn off visibility of objects that are blocking your view. Sketchup has a special feature called “Hide rest of model”. This feature will hide everything outside of your active group, sometimes preventing you from even having to turn visibility on or off in the first place. Creating a keyboard shortcut for that feature makes quick work of turning it on and off.
  • By managing your visibility using groups, you prevent the need for having two separate organizational structures. Instead of assigning objects to both a group and a Layer, you would only have to assign them to a group.
  • When you hide a group or component, switching on “Hidden Geometry” (View –> Hidden Geometry) will reveal an outline of all hidden groups. However, if you have entities on a layer that is turned off, they will NOT be revealed when you turn on hidden geometry. They will remain invisible until you turn that layer back on. They will also disappear from the Outliner window until you turn that layer back on.

Advantages of using Layers for organizing visibility

  • Layers provide a way to assign similar items to a common visibility channel, even if they reside in separate, unrelated groups. For example, if you are modeling a house, you might put all the furniture on a layer labeled “furniture”. This way, you can quickly turn off all the furniture in your model with one click. Otherwise, if you hadn’t assigned all the furniture to a layer, you’d have to open up each group in your model and find all the furniture components and hide them individually.
  • Sketchup scenes do not track hidden groups/components very well when they are nested into parent groups. For this reason, it is best to use layers when trying to save scenes of your model with different visibility “configurations”.
  • UPDATE 3/17/13 via James Ogston from James emailed me and brought up a good point about another reason to use layers. If you are planning on exporting your model to another program and you want to retain the organizational structure of your model, you might have to assign layers. If you don’t, all of your groups and components will show up as one object in the program you imported into.

Layers may not be necessary

After assessing your organization needs, you may find that you don’t need to use layers at all. Personally, I rarely use them. I do all of my organizing using groups and components. Just don’t make the mistake of thinking layers will isolate geometry. It’s only purpose is to control visibility.

About the Author

Matt Donley

Facebook Twitter Google+

Matt has been creating SketchUp tutorials since 2012. After writing the book SketchUp to LayOut, he conducted the "Intro to LayOut" seminar at the official SketchUp conference in Colorado. Matt writes about how to use SketchUp for design, construction and 3D printing.

Comments 7

  1. jor card

    Hi, sorry bother you I saw the video about create a floorplan was really nice and easy, what about include rooms and doors and stairs ?? you know more real, thanks if you can help.

  2. Christopher Krupp

    I use groups and components extensively in my models but mostly to allow them to be easily moved, rotated, etc without messing with the rest of the model. The hide and unhide process using Outliner is a bit too cumbersome for me. My preference is to assign layers to the groups and components and switch them off and on through the layers menu. It just streamlines the process, in my opinion, of course.

    I love the ability of Outliner to move groups and components into and out of their relative nested positions as it’s real easy to inadvertently build entities with-in a group or component when you didn’t mean to or you’d like to copy a group or component to another or use it outside of them. Outliner makes the fix simple. I rarely hide or unhide stuff.

    The abilility to use layers to design multiple options for the same entity in the same position works pretty well for me. I can, however, understand that both Outliner and Layers are 2 viable options.

    Thanks for the tip on using Hidden Geometry to make hidden groups and components.

    FYI: there’s a new plug-in from Sketch-U-Cation called “Plug-Ins Manager”. It’s an amazing, indispensible tool for finding new plug-ins and managing those you’ve loaded into SketchUp

  3. Peter Samuel

    “Layers” is a most misleading term in Sketchup. They should be renamed “Visibles” or “Visibles/Invisibles.” Despite the many warnings in Sketchup help materials and tutorials that the Skeptchup Layers are not really layers I had great difficulty getting the hang of how the heck they worked until I read your analogy with a light in a room. None of the tutorials or how-to materials manage to get it across as well as this.

  4. David

    Hi, I am creating a building using Sketchup. At this point I’m only interested in the outside (walls, roof etc) the inside will be done later, if at all. The main buildin building is a rectangular structure 50′ by 30′ by about 20′ high with a flat roof and a paved road separates the main building from a wall that is about 2′ thick by 30′ long and the same height as the main building. I want to place a roof that covers both structures and the road runing between them. I also want to be able to show the structures without the roof. Would I use a layer or component? I can’t easily find a video for this. Thanks

    1. Post
      Matt Donley

      You definitely want to use groups to contain each individual object. So (depending upon your level of detail), the roof, road, walls, etc should be in their own groups. You might also want to select the walls group and roof group and place them into another parent group called “building”.

      If you want to quickly be able to toggle the visibility of the roof, you’d select the group that contains the roof objects, and go to Entity info window and switch the group to a different layer. (You can add new layers from the Layer window.) Hope that makes sense.

Leave a Reply

Your email address will not be published. Required fields are marked *