sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Inverse Selection - where is it?

    scheduled pinned locked moved Developers' Forum
    32 Posts 15 Posters 41.6k Views 15 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      @jim said:

      Just my mind being illogical - it makes sense that hidden geoms are included when inverting the selection.

      nah πŸ˜„

      hidden geometry (by my logic at least) shouldn't come into the equation unless you have it turned on.. otherwise, it should remain hidden..

      that said, this script will still mess with hidden geometry.. if i draw a cube and a sphere, hide the cube, select the sphere, then invert the selection... the hidden cube will become selected..

      in my mind, when something is hidden, it should mean that no operations affect it.. it should be ignored..

      using the sphere/cube example again.. if i hide the cube and do a 'select all', only the sphere(which is visible) will be selected.. that's how it should work i think.

      [and the same could be said for a window select operation.. if something is hidden and i do a window select over it, it shouldn't be selected because i've chosen to hide it]

      dotdotdot

      one-reply-to-this-post last-reply-time reply quote 0
      • J Offline
        Jim
        last edited by

        @unknownuser said:

        nah πŸ˜„

        hidden geometry (by my logic at least) shouldn't come into the equation unless you have it turned on.. otherwise, it should remain hidden..

        I agree from a user point of view; alttough I can see it both ways. I meant it's logical when using the Ruby API. Otherwise, there would be no way to reference hidden entities.

        Hi

        one-reply-to-this-post last-reply-time reply quote 0
        • thomthomT Offline
          thomthom
          last edited by

          But the API can access whether Hidden Geometry is on or not..

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          one-reply-to-this-post last-reply-time reply quote 0
          • K Offline
            kwalkerman
            last edited by

            I recently wrote a plugin that will hide all unselected entities:

            http://forums.sketchucation.com/viewtopic.php?t=31378

            For some of you, this is what you are trying to accomplish by inverting the selection.

            I'm pretty sure I first inverted the selection, and then hid geometry, so you are welcome to look at the code and modify (or add a menu option).

            --
            Karen

            one-reply-to-this-post last-reply-time reply quote 0
            • T Offline
              Trip12091
              last edited by

              This is an old post, but it comes up first on a google search for "Sketchup, invert selection". What I do is select the entire entity that I only want part of (usually a big spiral with 1000s of segments) and then hold down the shift key (you'll see the little + and - sign indicating you can add or subtract elements now) and I'll subtract the pieces I want to keep. Once they have been removed from the selection, I'll delete everything else.

              So, "inverse" for me means start by selecting everything as opposed to only selecting the things you want, once you have selected everything unselect the things you want to keep.

              one-reply-to-this-post last-reply-time reply quote 0
              • R Offline
                runninghead
                last edited by

                Not quite what we're after though trip- imagine doing that with 1000 polys and lines by hand πŸ˜„

                one-reply-to-this-post last-reply-time reply quote 0
                • SJS66S Offline
                  SJS66
                  last edited by

                  InverseSelection is awesome. How'd I go so long without it? Thanks TIG.

                  one-reply-to-this-post last-reply-time reply quote 0
                  • L Offline
                    LetsSee
                    last edited by

                    @thomthom said:

                    @pvbuero said:

                    two minutes later

                    ...and two years later there is a reply... πŸ˜†

                    And yet another TEN years later there is another reply πŸ˜†

                    I am truly sorry that I so often come so late! I seem to have missed the best 10 years of sketchup, or rather pf the entire internet.

                    Because today the formerly glorious internet has become a close-popups-close-autoplay-vids-close-cookie-confirmations-close-accept-privacy-not-accepted-close-your-eyes-or-suffer NIGHTMARE.

                    LOL

                    No, I am here to say: TIG, you ARE the man, indeed! SO MANY beyond-genious-beyond-cool-solutions I see from you! TIG for President!

                    aka get rid of the current joke, yeah. 😲

                    one-reply-to-this-post last-reply-time reply quote 0
                    • Dan RathbunD Offline
                      Dan Rathbun
                      last edited by

                      Invert Selection is now native for SketchUp 2019.2 and later.
                      You'll find the command on the right-click context menu for the Select Tool.

                      See https://help.sketchup.com/en/sketchup/older-release-notes#su19-m2-whats-new

                      @unknownuser said:

                      Invert Selection. Just like the title suggests, it's the small things that help your workflow! This new feature will allow you to select anything, then invert the selection of objects. This makes it simple to select items and then perform actions on their inverse. The keyboard shortcut for this will be: CTRL + SHIFT + I (Windows) or CMD + SHIFT + I (Mac).

                      I'm not here much anymore.

                      one-reply-to-this-post last-reply-time reply quote 0
                      • T Offline
                        tricky2k
                        last edited by

                        And 10 thousand years later... thank you, TIG!!

                        It seems so unbeliavable that this feature wasn't available native until recently...

                        one-reply-to-this-post last-reply-time 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