# Increase / decrease selection

**URL:** <https://forums.sketchup.com/t/increase-decrease-selection/64316>\
**Category:** Pro\
**Tags:** modeling\
**Created:** [March 16, 2018, 9:39am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316 "2018-03-16T09:39:42Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sacha](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sacha](https://forums.sketchup.com/u/Sacha)\
**Post date:** [March 16, 2018, 9:39am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/1 "2018-03-16T09:39:43Z")

</div>

Hey all, I have a question about selecting polygons , edges . Is there an extension somewhere that lets me increase and decrease my selection with a keyboard shortcut? I am talking about something that is similar like in blender that lets me modify my selection with “Ctrl + " and " Ctrl -” which speeds up my workflow quiet a bit.

 ![IuQIq](https://global.discourse-cdn.com/sketchup/original/3X/5/3/53e353e7bb4639a723dde88ac67e66720f8cae79.gif)

Or is this something impossible to do in sketchup, even with a possible extension?

Thanks.

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [March 16, 2018, 10:00am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/2 "2018-03-16T10:00:34Z")

</div>

In SketchUp [Ctrl] adds to your current selection. [Shift] adds to / subtracts from your current selection, depending on whether something was already part of the current selection or not.  
There are plugins that help remembering last selection and other helpful features. Search the Extention Warehouse from within SketchUp.  
p.s. ThomThom might have one in the Extention Warehouse.

---

<div class="post-metadata">

**Author:** ![Sacha](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sacha](https://forums.sketchup.com/u/Sacha)\
**Post date:** [March 16, 2018, 10:23am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/3 "2018-03-16T10:23:31Z")

</div>

Ah I see what you mean, but that isn’t really what I am looking for. For example when I select 1 face I’d like to increase the current selection by adding all surrounding faces or edges simultaneously. Or decrease.

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [March 16, 2018, 10:36am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/4 "2018-03-16T10:36:14Z")

</div>

There’s “only” the right click contect menu option Select \> (for instance) Connected Faces in native SketchUp, once you have a single face selected.  
You’ll need ThomThom’s Selection Tool plugin (or similar) to expand the selection options.  
[https://extensions.sketchup.com/nl/content/selection-toys](https://extensions.sketchup.com/nl/content/selection-toys)

---

<div class="post-metadata">

**Author:** ![kengey](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/kengey/32/234545_2.png) [@kengey](https://forums.sketchup.com/u/kengey)\
**Post date:** [March 16, 2018, 5:24pm UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/5 "2018-03-16T17:24:57Z")

</div>

Interesting idea!

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 17, 2018, 2:37am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/6 "2018-03-17T02:37:56Z")

</div>

Don’t think it would be dificult to implement it with code using the Ruby API.

There is a method that selects connected faces.

Currently on my phone but when I get back to the computer I’ll see if my assumptions are true.

Cheers!

### Note: When I tried to use the connected faces method it didn’t work as I predicted…Instead of selecting neighbor faces only it selected everything which presented a problem! I did try to solve it in CODE below..

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 17, 2018, 4:28am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/7 "2018-03-17T04:28:23Z")

</div>

**Hello again,**

### Code example for increasing selection from selected faces…

```ruby
# Get selected faces...
model = Sketchup.active_model
selection = model.selection
faces = selection.grep(Sketchup::Face)

# Empty Arrays
edges = []
connected = []

# Get an array of edges that bound the selected faces...
faces.each { |face| edges << face.edges }

edges.flatten!

# Get all of the faces common to the edges...   
edges.each { |edge| connected << edge.faces }

connected.flatten! 

# Increase selection with connected faces... 
selection.add connected

# Increase selection with connected edges... 
connected.each { |face| edges << face.edges }

selection.add edges

```

### Above is a rough idea (ugly code) of how to solve increasing selection, but not decreasing it. Maybe if I have the time later I’ll build a better app for this topic but if I do I’ll probably sell it to justify the time working on it. Anyhow, I hope this is useful for you!

[https://s14.postimg.org/51uwncn5t/increase\_selection.gif](https://s14.postimg.org/51uwncn5t/increase_selection.gif)

Also, you can download a Ruby editor in the Extension Warehouse and copy-paste the code to make it work. **I don’t claim any copyright so anyone can feel free to use it and modified it or even sell it I don’t care.**

Cheers!

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 17, 2018, 4:53am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/8 "2018-03-17T04:53:04Z")

</div>

Hello Everyone,

If I ever build this Extension with good user interface would you Buy it for something like $15?

_Poll ([view on site](https://forums.sketchup.com/t/increase-decrease-selection/64316/8))_

Before spending time on this I would like to know if people would find it valuable enough.

Cheers!

---

<div class="post-metadata">

**Author:** ![Lulwa](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@Lulwa](https://forums.sketchup.com/u/Lulwa)\
**Post date:** [March 17, 2018, 5:30pm UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/9 "2018-03-17T17:30:20Z")

</div>

Hi sasha

Your might to find similar option in the QuadeFace tools, specifically the second and third buttons (second increases the selection, third decreases)

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 19, 2018, 4:33am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/10 "2018-03-19T04:33:32Z")

</div>

If you add the following code snippet to the end of the code above…

```ruby
#Add this code line to the end of the sample code posted above... 
selection.remove faces

```

### We get…

## Checkers!

[https://s20.postimg.org/qt5d61ge5/checker\_Selection.gif](https://s20.postimg.org/qt5d61ge5/checker_Selection.gif)

### I don’t know why but I got excited about this and wanted to share it.

---

<div class="post-metadata">

**Author:** ![bifterx](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/bifterx/32/44878_2.png) [@bifterx](https://forums.sketchup.com/u/bifterx)\
**Post date:** [March 19, 2018, 6:05am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/11 "2018-03-19T06:05:35Z")

</div>

this sort of functionality exists in Modo, which as one of its USP’s are its selection functions, (and they are fantastic), increasing decreasing the selection, saving selection sets, edge loops (edges and faces) around geometry (as opposed to edge loops per face), boundary edges etc. I have occasionally thought that that sort of thing would be handy in SU whilst modelling but only occasionally. Modo works with subdiv surfaces and quads and is a different beast entirely to SU.

---

<div class="post-metadata">

**Author:** ![Sacha](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sacha](https://forums.sketchup.com/u/Sacha)\
**Post date:** [March 19, 2018, 3:54pm UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/12 "2018-03-19T15:54:56Z")

</div>

Hey all , thanks for the replies , what Rafael suggested is indeed what I was looking for

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 19, 2018, 6:05pm UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/13 "2018-03-19T18:05:34Z")

</div>

Probably going to start developing an Extension of this concept brought by @Sacha very soon. I am personally interested in actually using this tool myself and plan to also create other outside the box selections like, for example, the ‘Checker Selection’ previously posted.

Since I am a solo developer who does this part-time… I will start creating the ‘Minimal Viable Product’ and slowly iterate to make it better. Hopefully, people on this forum will collaborate with ideas or point out bugs and stuff.

And, we need to come up with a cool name for this Plugin!

Cheers!

---

<div class="post-metadata">

**Author:** ![indie3d](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/indie3d/32/187598_2.png) [@indie3d](https://forums.sketchup.com/u/indie3d)\
**Post date:** [March 30, 2018, 12:21am UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/14 "2018-03-30T00:21:40Z")

</div>

#### Finished creating this concept into a finished tool.

Visit the following thread to get more info…

> [@\[Extension\]\[$\] Grabby (1.0.4)](https://forums.sketchup.com/t/extension-grabby-1-0-2/65184):
>
> [image] Grabby v1.0.4 Grabby is a set of tools that will help you select entities in more precise ways. Have you ever accidentally selected a face instead of an edge? Tired of right-clicking an entity to hide it? Accidentally selected unwanted geometry with the default selection tool? Well, suffer no more because Grabby comes to the rescue to battle does nasty selections… Get it Now! [[sellfy48] ➜ Buy on Sellfy](https://sellfy.com/p/dLdr/)[[ew48] ➜ Buy on Extension Warehouse](https://extensions.sketchup.com/en/content/edgegrab) Tools Overview: [EdgeGrab32] …

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sketchup/original/3X/f/2/f2a121500b085ed60806607a82720b092d800bb3.png) [@system](https://forums.sketchup.com/u/system)\
**Post date:** [June 29, 2018, 4:21pm UTC](https://forums.sketchup.com/t/increase-decrease-selection/64316/15 "2018-06-29T16:21:42Z")

</div>

Closed on June 29, 2018, 4:21pm UTC

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
