by thomthom » Mon Jan 09, 2012 11:05 am
OverviewResponse to this thread: http://forums.sketchucation.com/viewtop ... 15&t=42390Will let the user cycle through the five last selection sets. Useful when you for instance accidentally deselects a carefully crafted selection. Important!This plugin has not been tested under OSX! It is not known how it will behave under SketchUp OSX where one process can have multiple models open. Unpredictable behaviour will most likely occur - possibly bugsplats. ModificationTo modify the number of saved sets, modify this constant: SELECTION_STACK_SIZE = 5I recommend you do not change this to a too large number. AccessEdit > Cycle Previous SelectionsFeatures- Cycle Previous Selections
Cycles through the last 5 selection sets. Requirements- SketchUp 8 or newer - ( Other versions untested )
- Might work with older version. Just test for yourself. Either it works or it doesn't.
Download Footprint <Sketchup>/Plugins/ +- 
tt_selection_memory.rb 
Last edited by thomthom on Thu Nov 28, 2013 11:52 pm, edited 1 time in total.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by Rich O Brien » Mon Jan 09, 2012 11:23 am
Nice tool Works like a charm
There's a frontroom and a backroom....reverse faces
-

Rich O Brien
- Administrator
-
- Posts: 12683
- Joined: Fri Oct 31, 2008 9:05 am
- Location: Broadford, Clare, Ireland
- Name: Rich O'Brien
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
-
by mitcorb » Mon Jan 09, 2012 1:54 pm
Thanks, thomthom: Tested in Sketchup 7, also. Worked on first try.
I take the slow, deliberate approach in my aimless wandering.
-

mitcorb
- Top SketchUcator
-
- Posts: 4007
- Joined: Sat Mar 22, 2008 2:32 pm
- Location: USA
- Name: mitcorb
- Operating system: Windows
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by massimo » Mon Jan 09, 2012 2:08 pm
Thanks! It seems not working with edges with the last selection. I mean select a rectangle with a double click-->deselect-->"cycle previous selection" and only the face is selected. But if you've made another selection and go back to the initial selection then it works. SU pro 7.1
Last edited by massimo on Mon Jan 09, 2012 2:15 pm, edited 1 time in total.
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by thomthom » Mon Jan 09, 2012 2:15 pm
When you double click - two selections sets are made. One for the first click on the face - and one on the second click when edges are selected. If you deselect after a doubleclick you need to cycle two times to restore the selection with both borders. It is a bit counter-intuitive some times like that.
Basically how it works: Every times you change the selection - the selection set is stored in the selection stack. Cycle selection advances the internal index and fetches the selection set associated with that index.
The plugin is a bit rough around the edges like that.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by massimo » Mon Jan 09, 2012 2:16 pm
Oh, I see. Thanks again. 
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by massimo » Mon Jan 09, 2012 2:21 pm
Another thing: it seems not working with selection window from left to right. Is that normal? Also not working with artisan's select brush.
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by thomthom » Mon Jan 09, 2012 2:26 pm
massimo wrote:Another thing: it seems not working with selection window from left to right. Is that normal?
Seems to work here. SU8? As far as I've seen - it work with any selection. Not sure how Artisan's selection brush works. If it continuously updates the selection then it might cause unexpected behaviour - as the stack will the flushed very quickly. It works by using SketchUp's selection observer...
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by numerobis » Mon Jan 09, 2012 2:27 pm
WOW! This sounds great! I have to test it... thanks!!! 
-
numerobis
-
- Posts: 823
- Joined: Sat Apr 12, 2008 1:27 pm
- Location: Germany
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by massimo » Mon Jan 09, 2012 2:30 pm
I have SU 7.1 and can confirm that here not works with left-->right selection while it works with right-->left selection.
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by thomthom » Mon Jan 09, 2012 2:35 pm
massimo wrote:I have SU 7.1 and can confirm that here not works with left-->right selection while it works with right-->left selection.
Just tried it myself - I see no problems with Left to Right as oppose to Right to Left... Are you able to make a short video of what you see?
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by massimo » Mon Jan 09, 2012 2:41 pm
Ehm...I'm afraid not. Anyway this is what i do: - Draw a simple rectangle for example; - Select all (edges and face) with a left-->right window. - click anywhere to deselect; - run "cycle previous selection" and nothing happens. EDIT it's not working with right-->left selection either.
Last edited by massimo on Mon Jan 09, 2012 2:47 pm, edited 1 time in total.
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by thomthom » Mon Jan 09, 2012 2:47 pm
Ah - it's something to do with how it retrieves back the previous selections. What you are experiencing is probably that it retrieves an earlier selection set. Might be empty.
There is five slots of selection sets - always - even when you start a fresh model. Keep cycle through and it will come back. I'll have a look at it. But this plugin isn't on top of my priority list.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by massimo » Mon Jan 09, 2012 2:50 pm
There is five slots of selection sets - always - even when you start a fresh model
Ah! That's maybe the reason. Thought that with a fresh model the "memory" would have been deleted.
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by thomthom » Mon Jan 09, 2012 2:52 pm
Well, it does - but there's a pre-reserved set of slots regardless. Which then are "filled" as you use it.
The plugin was written very quickly so unfortunately it has this behaviour which is illogical from a user point of view. :/
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by massimo » Mon Jan 09, 2012 3:02 pm
Ok, no problem. 
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by andybot » Mon Jan 09, 2012 3:02 pm
Thanks Thomthom  works as expected for me!
-

andybot
- Premium Member

-
- Posts: 1957
- Joined: Fri Jul 16, 2010 5:10 pm
- Location: Charlottesville, Virginia
- Name: Andy
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Mon Jan 09, 2012 3:24 pm
Version 1.0.1 Did a quick tweak to it. I believe it should retrieve the previous selection more predictably now.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by massimo » Mon Jan 09, 2012 3:45 pm
Now it seems to work just fine. 
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by john2 » Mon Jan 09, 2012 4:24 pm
yeeeeeeeeeaaa 
Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB
-

john2
-
- Posts: 596
- Joined: Tue Oct 18, 2011 7:27 am
- Name: john2
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Ben Ritter » Mon Jan 09, 2012 6:42 pm
Sweet! Thank you so much, again.
-
Ben Ritter
-
- Posts: 468
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by john2 » Tue Jan 10, 2012 7:50 am
thanks a llllot thomthom..great plugin. saves a lot of time during accidents  
Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB
-

john2
-
- Posts: 596
- Joined: Tue Oct 18, 2011 7:27 am
- Name: john2
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by EarthMover » Wed Feb 22, 2012 3:01 am
Thanks bro for this great tool. I've always enjoyed having the selection in the undo stack with 3ds Max, now it's possible in sketchup as well! You deserve a chocolate fudge covered peanut butter chocolate chip cookie with oreo filling!
3D Artist at Clearstory 3D Imaging Guide Tool at Winning With Sketchup Content Creator at Skapeup
-

EarthMover
- Premium Member

-
- Posts: 1801
- Joined: Fri Sep 12, 2008 9:06 pm
- Location: Eastern Pennsylvania
- Name: EarthMover
- Operating system: Windows
- SketchUp version: 2016
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by thomthom » Wed Feb 22, 2012 9:20 am
EarthMover wrote:You deserve a chocolate fudge covered peanut butter chocolate chip cookie with oreo filling!

-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by Stinkie » Wed Feb 22, 2012 9:42 am
Thanks, Thom. Most useful. 
-

Stinkie
-
- Posts: 3485
- Joined: Mon Nov 12, 2007 1:16 pm
- Location: Yes.
- Name: Stinkie
- Operating system: Windows
- SketchUp version: 2014
- License type: Free/Make
- SketchUp use: other
- Level of SketchUp: Intermediate
by halroach » Wed Feb 22, 2012 12:48 pm
Thanks Thom! You could add it to your already marvelous set of tools in 'selection toys'. That's it! I'm all out of keys on my keyboard for another shortcut for such a good tool. either I scrap some short cut I barely use, or I'll bump it up to them less used Shift+ and Ctrl+ shortcuts 
-

halroach
-
- Posts: 499
- Joined: Sat Mar 29, 2008 1:12 pm
- Name: Yoni Frandzel
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by victor hugo » Fri Sep 28, 2012 6:16 pm
Buenos Dias.
If I want to revert the "selection_stack size" to default which number would be; or by removing the plugin it will go back to default?
Thanks.
-
victor hugo
-
- Posts: 46
- Joined: Fri Aug 10, 2012 9:43 pm
- Name: VICTOR HUGO
by thomthom » Sat Sep 29, 2012 1:45 am
If you reinstall then it would revert back, yes.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by gonashvili » Thu Dec 05, 2013 10:18 am
This be them bombz. Big up yourself, sir, etc.... 
-

gonashvili
-
- Posts: 78
- Joined: Wed Jan 02, 2013 10:30 am
- Name: Hamlet G
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Beginner
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|