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

    [REQ] un-select everything

    Scheduled Pinned Locked Moved Plugins
    34 Posts 15 Posters 726 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.
    • BoxB Offline
      Box
      last edited by

      Funny how people can be talking about the same thing and not notice.

      @bob james said:

      @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 πŸ‘

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

        @jeff hammond said:

        @gilles said:

        It does for me or maybe I've a fake Mac πŸ’š

        really? that's strange.
        do you use an english keyboard? or- i wonder what else may be the reason why ESC deselects for you and not me?

        It works for me on my Mac, too, Jeff.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

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

          @box said:

          Funny how people can be talking about the same thing and not notice.

          Too true. πŸ˜‰

          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

            @unknownuser said:

            Funny how people can be talking about the same thing and not notice.

            massimo did notice.

            @massimo said:

            @krisidious said:

            Esc does work and I use it often... But something to exit out of all groups and unselect everything back to the top of the model hierarchy would be nice.

            This works like a charm.

            That's what led me to turn Jim's code into backout.rb


            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
            • soloS Offline
              solo
              last edited by

              @bob james said:

              @unknownuser said:

              Funny how people can be talking about the same thing and not notice.

              massimo did notice.

              @massimo said:

              @krisidious said:

              Esc does work and I use it often... But something to exit out of all groups and unselect everything back to the top of the model hierarchy would be nice.

              This works like a charm.

              That's what led me to turn Jim's code into backout.rb

              πŸ‘

              http://www.solos-art.com

              If you see a toilet in your dreams do not use it.

              1 Reply Last reply Reply Quote 0
              • bazB Offline
                baz
                last edited by

                Perhaps I am misunderstanding the issue but in the shortcuts menu there is an option for 'deselect all' This doesn't 'back out' like the escape key but does exactly what it says.
                I have it set as 'shift D'

                Baz

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

                  @baz said:

                  This doesn't 'back out' like the escape key

                  That's the whole point of this discussion. Deselecting something buried within a component/group still leaves you inside the group/component. Backout deselects and brings the cursor all the way out of the group/component leaving you free to select something else in your model.

                  By the way:,I can't find this:

                  @unknownuser said:

                  but in the shortcuts menu there is an option for 'deselect all'

                  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
                  • bazB Offline
                    baz
                    last edited by

                    @bob james said:

                    Backout deselects and brings the cursor all the way out of the group/component leaving you free to select something else in your model.

                    I get you, 'Select None' only deselects within the group or component.

                    @bob james said:

                    By the way:,I can't find this:

                    Here Tis...

                    Capture-su preferences.JPG

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

                      Thanks:I was looking for 'deselect all'

                      @unknownuser said:

                      but in the shortcuts menu there is an option for 'deselect all'

                      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
                      • bazB Offline
                        baz
                        last edited by

                        @bob james said:

                        Thanks:I was looking for 'deselect all'

                        @unknownuser said:

                        but in the shortcuts menu there is an option for 'deselect all'

                        my bad 😳

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @gilles said:

                          @jeff hammond said:

                          are we talking about exiting groups or un-selecting selected items? πŸ˜• i'll read back through the thread a little later.

                          Both.

                          what if you aren't editing inside a group (raw geometry) and you have some items selected? will ESC deselect those items? i've tried it on a macpro and a mbp now and it works on neither. for that, i have to use the 'select none' shortcut.
                          (though the way i usually do this when there is no blank space to click in is to select a new item which i can see then shift-select it in order to clear all selections.. just i bad habit i've developed over the years where i should probably be using the shift-cmmd-A shortcut)

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • gillesG Offline
                            gilles
                            last edited by

                            @jeff hammond said:

                            @gilles said:

                            @jeff hammond said:

                            are we talking about exiting groups or un-selecting selected items? πŸ˜• i'll read back through the thread a little later.

                            Both.

                            what if you aren't editing inside a group (raw geometry) and you have some items selected? will ESC deselect those items? i've tried it on a macpro and a mbp now and it works on neither. for that, i have to use the 'select none' shortcut.
                            (though the way i usually do this when there is no blank space to click in is to select a new item which i can see then shift-select it in order to clear all selections.. just i bad habit i've developed over the years where i should probably be using the shift-cmmd-A shortcut)

                            Yes this works, I' running Mountain lion Mac book pro SU V8.

                            As I said before ESC does not deselect with some tools when they are active.

                            " c'est curieux chez les marins ce besoin de faire des phrases "

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @gilles said:

                              Yes this works, I' running Mountain lion Mac book pro SU V8.

                              As I said before ESC does not deselect with some tools when they are active.

                              well.. that's just strange (tried it in su8 too on lion and mavericks-- with various active tools).. i'm sure there's a reason behind the differing behaviors on our computers but i guess it's not important enough to figure out.

                              fwiw, i do use the ESC key often in sketchup but i use it as a cancel button while drawing (for instance, i use the line tool if i need to measure something but i ESC once i see the dimension in the measurement box.. or if i misplace the beginning click of a tool etc..)

                              dotdotdot

                              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