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

    Deep nest

    Scheduled Pinned Locked Moved Plugins
    27 Posts 12 Posters 4.9k Views 12 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.
    • Dave RD Offline
      Dave R
      last edited by

      Massimo, you're right. However the plugin isn't available to select from the Function list unless an entity within a component is selected. It doesn't have to be a face within an inner component. It could be a component that is selected. Unless an entity is selected, though, the keyboard shortcut won't work. Weird.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • Bob JamesB Offline
        Bob James
        last edited by

        @jim said:

        Paste this into a file with the .rb extension in your plugins folder.

        
        > UI.add_context_menu_handler {|menu|
        >   menu.add_item("Close All Contexts") {
        >     Sketchup.active_model.selection.clear
        >     while (Sketchup.active_model.close_active); end
        >   }
        > }
        > 
        

        Called it BackOut.rb, assigned a shortcut to it, added it to a key on my P.I. Engineering x-keys keyboard and now I can back out from within any group/component with one key. Sure beats pecking at the Escape key πŸ˜„
        Thank you very much πŸ‘

        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

          You're welcome.

          I will be adding 2 commands to Custom Toolbars named "CloseActive" and "CloseAllActive" for those who like toolbar buttons.

          Hi

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

            Bob, I could put "BackOut.rb" in the Plugin Store, if that would be alright with you.

            Although I wonder if it's worth it for what is practically a one-liner; but I suppose code size isn't always related to usefulness.

            Hi

            1 Reply Last reply Reply Quote 0
            • K Offline
              kaas
              last edited by

              @jim said:

              Paste this into a file with the .rb extension in your plugins folder.

              
              > UI.add_context_menu_handler {|menu|
              >   menu.add_item("Close All Contexts") {
              >     Sketchup.active_model.selection.clear
              >     while (Sketchup.active_model.close_active); end
              >   }
              > }
              > 
              

              Thanks a lot! Those few lines of code make working with more complex object trees much easier.

              1 Reply Last reply Reply Quote 0
              • tt_suT Offline
                tt_su
                last edited by

                @kaas said:

                Thanks a lot! Those few lines of code make working with more complex object trees much easier.

                The Outliner will let you jump directly in and out of the model hierarchy.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kaas
                  last edited by

                  @tt_su said:

                  The Outliner will let you jump directly in and out of the model hierarchy.

                  I know, I use it all the time but using a keypress is a bit more quick than moving the pen to the outliner and back again.

                  1 Reply Last reply Reply Quote 0
                  • Bob JamesB Offline
                    Bob James
                    last edited by

                    @jim said:

                    Bob, I could put "BackOut.rb" in the Plugin Store, if that would be alright with you.

                    It's your plugin, all I did was give it a name πŸ˜„

                    @jim said:

                    Although I wonder if it's worth it for what is practically a one-liner; but I suppose code size isn't always related to usefulness.

                    This one is worth it


                    BackOut.rb

                    i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by

                      looked for this in the plugin store... didn't find it. needs to be there. doesn't seem to work in 2015?

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

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

                        Works fine for me in 2015

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

                          It does for me, too.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • KrisidiousK Offline
                            Krisidious
                            last edited by

                            Hmmm...

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 Reply Last reply Reply Quote 0
                            • KrisidiousK Offline
                              Krisidious
                              last edited by

                              Did you save the rb or make one yourself?

                              That was it... I made the rb last time and this time I downloaded it. it's called backout now instead of close all contexts as I'm used to.

                              Thanks guys.

                              By: Kristoff Rand
                              Home DesignerUnique House Plans

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

                                You could easily edit the text to say that again.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • KrisidiousK Offline
                                  Krisidious
                                  last edited by

                                  I have... I named it GTFO!

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

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

                                    Wow this is just what I was asking for just the other week, but no one who answered seemed to remember it. Maybe it is just my machine but backing out of components is a PITA. So slow sometimes.

                                    Thanks guys for creating and posting this!

                                    Now for the opposite (key command)+click on an entity inside a component to open (edit) that entity's component (/group) to raw geometry level.

                                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                    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