sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Unhide ALL (Edges) - Inside Groups / Components ???

    Scheduled Pinned Locked Moved Plugins
    28 Posts 17 Posters 36.6k Views 17 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      I wrote this 'group_miner' script some time ago. It mines down through into any groups and makes sure that all groups are unique... Put it into your Plugins folder and it auto-runs at start up to ensure that the model is initially 'fixed'. You can invoke it in any script (remember to 'require' it if needed BUT it's a short bit of code to copy/paste inside any script anyway)... OR just type 'group_miner(Sketchup.active_model.entities)' to repeat the process 'live'...


      ~group_glitch_fixer.rb

      TIG

      1 Reply Last reply Reply Quote 0
      • tbdT Offline
        tbd
        last edited by

        and here is the fix (thanks TIG) - works with both .skp from JClements & Howard L' (for the cube in JClements .skp you need to triple click to select all connected as it is not a group)


        unhide_all.rb

        SketchUp Ruby Consultant | Podium 1.x developer
        http://plugins.ro

        1 Reply Last reply Reply Quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Thank you TBD and TIG.

          This will be useful.

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • H Offline
            Howard leslie
            last edited by

            Tomasz / TBD / TIG,
            Thanks to all of you for working on this script.
            Now works really well.
            Regards
            Howard L'

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

              Is the fix posted in this thread still needed for the latest SketchUp versions?

              Hi

              1 Reply Last reply Reply Quote 0
              • P Offline
                Pout
                last edited by

                @jim said:

                Is the fix posted in this thread still needed for the latest SketchUp versions?

                i just did the test, and yes it is still needed

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

                  @jim said:

                  Is the fix posted in this thread still needed for the latest SketchUp versions?

                  Currently the failure to ensure that copies of a group become single instances of a definition is not fixed - group.make_unique still reports as being deprecated, but it is needed - it is possible to have several copies made of a group definition where they act like component instances, and so changing one instance changes the lot - it's what Components are supposed to do BUT that's NOT what groups are supposed to do... When you copy a group it should automatically become a single instance of its definition - there should never be the equivalent of group.definition.instances[1]. It doesn't currently work properly - either manually or scripted... 😒

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hygicell
                    last edited by

                    yesterday and today sketchup 2013 completely froze when using the unhide plugin (which I have used many times before witout problems)
                    the only difference I can see is that I twice had the outliner and components windows open, which I didn't before
                    both these windows were on a second monitor which I didn't have before either
                    anybody else had this experience?
                    Frank

                    1 Reply Last reply Reply Quote 0
                    • mitcorbM Offline
                      mitcorb
                      last edited by

                      I have seen it discussed before, quite a while back, that Outliner especially, and Component windows can cause issues with your work when they are fully open. If you click on the top bar of each, they will "roll up". This, I have read, will reduce the problem.
                      Hope this helps.

                      I take the slow, deliberate approach in my aimless wandering.

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

                        Alas, I too have found this plugin freezes in Sketchup 2013. I tried closing all dialogs, particularly the outliner, scenes and layers, and no luck. Pity.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AirWindSolar
                          last edited by

                          @michaelhund said:

                          Alas, I too have found this plugin freezes in Sketchup 2013. I tried closing all dialogs, particularly the outliner, scenes and layers, and no luck. Pity.

                          No freeze here, just doesn't appear to do anything at all. Won't even unhide elements within the currently open component, even after view>hidden and Ctrl-A.

                          Will fiddle with it a bit more when I have time.

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

                            Here's v2.0 - I tweaked it to unhide from the active_context downwards - unhiding everything, even in deeply nested sub-containers...
                            If you start in the model it unhides 'all' entities.
                            If you start in a group it unhides 'all' entities inside that group etc...
                            It is one step undo-able.
                            http://sketchucation.com/pluginstore?pln=unhide_all

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              AirWindSolar
                              last edited by

                              Latest update seems to be working.

                              This should save a lot of time when I'm having to shuffle stuff around and hide/unhide a lot to clarify something for the fabrication crews.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                peebo22
                                last edited by

                                TIG, your plugin makes Sketchup 2015 crash when there's lots of edges.

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

                                  @peebo22 said:

                                  TIG, your plugin makes Sketchup 2015 crash when there's lots of edges.
                                  If you do it in smaller batches, does it succeed ?
                                  Also have you tried Model Info > Statistics > Fix Problems... in case there's some corrupted geometry ?
                                  Also, when you say 'crash' do you mean a BugSplat!, or does SketchUp just become unresponsive ?
                                  In the latter case it should still complete, even if it takes a while...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    acarl720
                                    last edited by

                                    Thanks for creating this plugin. I had "lost" a group in a model and no matter what I did, I couldn't find it. There was no loose geometry and all components were in groups. I knew it was there when I copied and pasted from an older model and SU said there were two in the current model. This plugin saved me from brute forcing a solution or redoing a lot of work.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bsfranza
                                      last edited by

                                      hi there,

                                      with sketchup 2020 we now have isolate which is pretty cool...
                                      and toggle visible active (whatever thats for - i have not found out what this is intended for so far) ...

                                      however, the su internal unhide command still does not unhide recursively all inside groups and components ...

                                      so here is my humble request > make it possible to unhide all recursively except for softend edges 😄...

                                      often times edges are hidden inside groups or components on purpose and its bad when thhat information is lost due to a unhide all command...

                                      maybe you can add a seperate command to this plugin 😄

                                      thx and all best, franz

                                      1 Reply Last reply Reply Quote 0
                                      • Dave RD Offline
                                        Dave R
                                        last edited by

                                        @bsfranza said:

                                        with sketchup 2020 we now have isolate which is pretty cool...
                                        and toggle visible active (whatever thats for - i have not found out what this is intended for so far) ...

                                        Those are not native commands that are new to SU2020. They come from an extension that you installed.

                                        @bsfranza said:

                                        make it possible to unhide all recursively except for softend edges 😄...

                                        So you want to unhide everything including hidden edges or faces? What if there are intentionally hidden edges and faces that need to remain hidden?

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        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