sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    Moving grouped objects to new layer

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 3 Posters 327 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
      ptc123
      last edited by

      I often need to move a grouped object from one layer to another. Is there away to have the group take on the color of the new layer?

      1 Reply Last reply Reply Quote 0
      • BoxB Offline
        Box
        last edited by

        Change the setting in the layers window via the little submenu to Color by layer.

        Yours will look a bit different as this is the PC version.


        By Layer.gif

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          Alternatively - if you don't want to color everything by layer [i.e. only some objects to get their layer's color], then you can use Ruby to get the layer of the selected object[s] and then get the layer.color, from that you can make a new material [named after the layer] using that color's RGB specification, and apply that new material onto the selected object[s].
          By naming the material after the layer you can test if that material has been made previously, and reuse the existing material, rather than make a new material every time...

          I that's the requirement then I can easily post a code-snippet to do this...

          TIG

          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