HIDDEN LAYERS in copied scenes
-
If a scene is created that contains hidden layers, and then a new scene is created as a copy, the hidden layers need to be re-activated. Is there a way to avoid this? The hidden layers were generated by a plugin.
-
Run this in the ruby console to set all layers to default behavior
Sketchup.active_model.layers.each{|layer| layer.page_behavior=0}
edit:
if you only want to change the behavior of one layer, run this and substitute NAME for your layer name
Sketchup.active_model.layers.each {|layer| if layer.name=="NAME";layer.page_behavior=0;end}
-
Thanks! And it seems to be permanent....vs. lasting only for one session.
-
@pipingguy said:
Thanks! And it seems to be permanent....vs. lasting only for one session.
Yes - provided you save the model. Page behavior is a property of each Layer and is saved within the model.
Advertisement