sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    HIDDEN LAYERS in copied scenes

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 3 Posters 763 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pipingguy
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • oceanembersO Offline
        oceanembers
        last edited by

        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}
        
        1 Reply Last reply Reply Quote 0
        • P Offline
          pipingguy
          last edited by

          Thanks! And it seems to be permanent....vs. lasting only for one session.

          1 Reply Last reply Reply Quote 0
          • S Offline
            slbaumgartner
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement