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

    [Plugin] Default Layer | Tag Geometry

    Scheduled Pinned Locked Moved Plugins
    27 Posts 15 Posters 27.3k 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      Thanks again TIG, this is still one of my favorite plugins!

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • E Offline
        Ecuadorian
        last edited by

        Very useful for cleaning up CAD imports. Thanks! πŸ‘

        -Miguel Lescano
        Subscribe to my house plans YouTube channel! (30K+ subs)

        1 Reply Last reply Reply Quote 0
        • J Offline
          JRSly
          last edited by

          Just had to bump this up and thank you for the great plugin! I'd started a personal project years ago to try to learn SketchUp and was recently running into issues with pieces disappearing in renders unexpectedly. And then I figured out it was cause the raw geometry was on some other layer, that I had hidden, than the group itself. At first I was frustrated and puzzled as to why SketchUp's layers would operate like this, but when I looked into the issue and read some topics on the frame of mind you should have regarding layers and groups and components it all started to make more sense.

          But then, sense or no sense, I was horrified at the prospect of trying to correct everything by hand, digging through every group and placing its lines on Layer0. It's just a silly, personal project, but I've put a lot of time into it and want to make it as properly and smartly as I can. So this plugin was an absolute lifesaver, saved me many hours of work and a good chunk of my sanity. πŸ‘

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

            This is a fabulous script indeed, but why is it not listed on Didier's Ruby Depot? Default All Layers , IS listed but not this one "Default Layer Geometry".

            Is it still working ? I ask because I use it one of my classes and a MAC user could not get it to do anything. It works fine on my PC but not on this fellow's MAC. Is that why it is no longer listed on Didier's site?

            Thanks TIG

            Susan Sorger
            Former Seller Hand Rendered Entourage
            Former Canadian Authorized Training Centre, SketchUp

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

              Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=47033#p47033
              I've updated it to increase its speed slightly on large selections and recoded it a bit better - after 4 years of practice... πŸ˜’
              It's a simple script that should run on all SUp versions and all OSs...
              πŸ€“

              TIG

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

                Thank you very much TIG. I will send it to my MAC friend.

                I really appreciate your response.

                Susan Sorger
                Former Seller Hand Rendered Entourage
                Former Canadian Authorized Training Centre, SketchUp

                1 Reply Last reply Reply Quote 0
                • sumasterS Offline
                  sumaster
                  last edited by

                  Thank you sir,

                  its very interesting ......

                  i have material tool which was apply material inside / out-side face one time .....

                  and thank for this tool .......

                  GOOD ONE ..... πŸ˜„

                  Thank you,
                  SUmaster

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MartinK
                    last edited by

                    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
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      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

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

                        1 Reply Last reply Reply Quote 0
                        • pbacotP Offline
                          pbacot
                          last edited by

                          Great! Thanks!

                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

                            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

                              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
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                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
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  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

                                    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
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      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
                                      • 1 / 2
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement