• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

[Plugin] Default Layer | Tag Geometry

Scheduled Pinned Locked Moved Plugins
27 Posts 15 Posters 27.2k Views 15 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.
  • M Offline
    MartinK
    last edited by 5 Dec 2012, 14:34

    Thanks ๐Ÿ‘

    I can use this to fix a colleagues messy model. This will be very handy in the future.

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 8 Jan 2016, 19:09

      Here's v2.0 http://sketchucation.com/pluginstore?pln=default_layer_geometry It's been updated to optimize its processing.
      Either on a Selection [including any nested geometry within selected 'containers'] OR the Whole Model [if nothing is preselected].
      It's also signed for v2016 compatibility in all Policies.

      TIG

      1 Reply Last reply Reply Quote 0
      • F Offline
        faust07
        last edited by 8 Jan 2016, 19:30

        Thanks again and also for your grand work to bring SketchUp to that level!

        1 Reply Last reply Reply Quote 0
        • P Offline
          pbacot
          last edited by 8 Jan 2016, 20:50

          Great! Thanks!

          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 9 Jan 2016, 22:03

            Here's v2.1 http://sketchucation.com/pluginstore?pln=default_layer_geometry It is further optimized by correcting a stupid typo ๐Ÿ˜ฒ

            TIG

            1 Reply Last reply Reply Quote 0
            • J Offline
              jwhida
              last edited by 22 Oct 2018, 01:47

              Hi TIG,
              when I try to use the script the following error appears in console (see below). I am using SU2018, and I note you have not listed it as supported.

              I believe line 88 should be

              self.zero( e.entities )
              

              rather than

              self.zero( e )
              

              Error: #<NoMethodError: undefined method each' for #<Sketchup::Group:0x0002850e51d778>> C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:69:in zero'
              C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:88:in block in zero' C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:69:in each'
              C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:69:in zero' C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:84:in block in zero'
              C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:69:in each' C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:69:in zero'
              C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:48:in new' C:/Users/John/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/default_layer_geometry.rb:35:in block in module:DefaultLayerGeometry'
              SketchUp:1:in `call'

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 22 Oct 2018, 11:24

                I think you are correct.
                Try changing that line as you indicated - it should then work with selected Groups...

                There are other newer and more compatible plugins, like my LayerWatcher, which do similar things and more besides...

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 11 Dec 2020, 20:45

                  I've made v3.0 which is pretty much unchanged, except that in newer SketchUp versions it uses the word 'Tag' instead of 'Layer'...
                  https://sketchucation.com/pluginstore?pln=default_layer_geometry

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    fuzzyderango
                    last edited by 8 Mar 2023, 09:43

                    Great plugin! Any way to also untag nested groups and components? So that only the "outer most" group/component has a tag? I think you mentioned that your LayerWatcher script did something similar but that seems to also explode those entities? Thanks!

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 8 Mar 2023, 15:30

                      Why not edit the container and select-all, then run the tool to untag the selected contents.
                      The outermost container's tag should be unchanged by this...

                      TIG

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

                      Advertisement