Moving objects back to Layer0


#1

If I understand this well, objects should always be created in Layer0, and later moved to different layers to set visibility.

IF this is correct (not sure I fully understood the problem…), I now have created a pretty complex 3D model with many objects created in one of the other layers. When I make a layer invisible, some objects in other layers disappear.

Any way to fix this issue without restarting the drawing from scratch?

Thanks for any help.


#2

Raw geometry should always stay on Layer0 and only groups and components should be moved to other layers (the geometry inside stay on Layer0).


#3

You could try my LayerWatcher…
This has various tools [read its usage - there are many helpful tools…]
One of them might be very useful for you - it is a context-menu item to revert all geometry [edges and faces] in selected entities to be assigned to Layer0 - including any similar geometry nested in any selected groups or component instances.
Try it on a copy and see if that helps…

SketchUcation has free memberships [read the details], once a member you can download any of the hundreds of available RBZ files and also take part in the forums there…
https://sketchucation.com/pluginstore?pln=TIG_LayerWatcher


#4

I am not sure I understand what is intended with “raw geometry” in sketchup. Is this ANY item created (rectangles, lines, 3d objects after pushing etc.) or just some of them?

If I understand well, the correct procedure is:

  1. Create objects in Layer0
  2. Convert to group or component some of those objects as required
  3. Move the group/component to a new layer.

In a nutshell: NEVER move single items (like lines or faces) to a new layer, or create them in layers different than Layer0. Is that correct?

Thanks for your help. Very appreciated. I used SketchUp for a while now but probably did not understand this intricacies since the beginning.


#5

I will try, many thanks!


#6

Raw geometry means lines and faces (and their combination: rectangle, circle,…).


#7

There is often some confusion about layers because there is an expectation they work like photoshop layers etc.
Instead of thinking you are “moving” geometry from one layer to another, its better to think of it as assigning its visibility to that layer. Given the issues surrounding this, Sketchup should have inbuilt what TIG has created, which is a warning when modeling on any layer other than “0”. My understanding is that only items like text and dimensions can be drawn on another layer because they aren’t geometry as such.There may be more elegant ways to do it, but you can always “delete” all the layers other than “0” and when prompted select "move to layer “0”. If this sounds crazy you can always try it with a copy of the file.Then once its all back on layer zero you can the assign to layers, but always good to get into the habit of grouping elements ( or make components) to be assured that their individual elements stay together and cannot end up piecemeal on different layers.


#8

Exactly so. And if you get into the habit of creating Groups/Components almost as soon as you start drawing something, you would likely never have anything visible in Layer 0 if you turned off visibility of other layers. Although you might have text and dimensions in Layer 0 perhaps if you don’ have a dedicated layer for them. It isn’t obvious what version of SU you are using as your profile is incomplete. If it is Pro, you will have Layout and that is where most people would put text and dimensions.


#9

Be aware that If you need to explode a group or component then you should first ensure that the group or component is on Layer0.

This is because when exploding the underlying raw geometry inherits the group or components Layer assignment.


#10

That’s a really good point but I wonder why it works that way. Experienced users will always say that raw geometry should be on Layer 0 so why does it inherit the layer assignment and not revert to Layer0?


#11

It is probably just a big hammer approach by the programmer. Essentially all the group or components attributes are applied to the geometry. This includes all transformations that have been applied to the group. Think about the following scenario.

  1. create a rectangle.
  2. select the rectangle and make it a group
  3. apply a texture to the group
  4. move, rotate and scale the group.
  5. explode the group
  6. all of the raw geometry contained within the group has been transformed.
  7. The groups texture has been applied to both sides of the face of the rectangle.

#12

Didn’t realized that. That’s a very important detail - thanks…

Thanks so much everyone. At the end I restarted my model from scratch and, for the first time in YEARS, I see the model very solid, with no issues and distorted geometry. I work in a completely different field. I use SketchUp intensely for a period, then don’t touch it for months. Therefore, I have to re-learn it very time…

However, now maybe I am doing something else stupid :)… When two geometries are in contact (imagine the walls of an house that I need to make visible/invisible depending on which perspective I want to show the interiors) I could not find a simple way to convert only one of the two geometry to a group before moving it to a new layer. In other words, looks to me that if I create two geometries that are sharing a face, and I forgot to create a group of the first before creating the second, I need to go back all the way before moving it to a new layer.

This looks crazy to me. Does exist a simpler way, maybe?


#13

best to have each wall as separate groups. or use a section plane to see in side form each angle.
If you are only wanting the interior and are not interested in the exterior you can apply a solid texture on theinternal faces and a transparent one on the outside…so you can see in…?


#14

I am not exactly sure why you would create faces on the same plane? If you want to view internal walls with external walls off, ideally you group the external walls and the internal walls separately and then create 2 scenes “internal walls” & “external walls”, in the “internal walls” scene the external walls would be hidden. You could also use a layer to do yet I do not think it is best practice. If however, you are trying to view items inside the wall Eg insulation which runs on a similar plane you may want to add the insulation geometry to a layer and the external cladding on another layer inside the group. you could control the visibility with scenes as they are easier than layers to access and use.
Or you could use PlusSpec as this automates all of this yet it is very expensive, actually more expensive than Sketchup itself and on top of that, it is subscription. PlusSpec is really designed for a full-time design or construction professional who may not have time to learn the intricacies and best working practices of Sketchup. Pagn it may be better to use PlusPSec Lite or the monthly version of PlusSpec pro and cancel or pause the subscription when you are not using it. I hope that helps.