by kachupp » Sat Jan 26, 2013 11:31 pm
Looking for a plugin that has a; ONE click exit from a deeply nested component preferably “right click context menu” Any tool exist?
-

kachupp
-
- Posts: 36
- Joined: Wed Feb 16, 2011 7:56 am
- Location: Auckland, New Zealand
- Name: kachupp
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Advanced
by Dave R » Sun Jan 27, 2013 1:40 am
Have you tried using the Outliner?
Etaoin Shrdlu
%
(THERE'S NO PLACE LIKE)
G28 X0.0 Y0.0 Z0.0
M30
%
-

Dave R
- Global Moderator
-
- Posts: 18940
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
-
by kachupp » Sun Jan 27, 2013 2:06 am
Dave R wrote:Have you tried using the Outliner?
Never thought of using it.. it works. I'd still prefer right click exit 
-

kachupp
-
- Posts: 36
- Joined: Wed Feb 16, 2011 7:56 am
- Location: Auckland, New Zealand
- Name: kachupp
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Advanced
by Jim » Sun Jan 27, 2013 4:55 am
Paste this into a file with the .rb extension in your plugins folder. - Code: Select all
UI.add_context_menu_handler {|menu| menu.add_item("Close All Contexts") { Sketchup.active_model.selection.clear while (Sketchup.active_model.close_active); end } }
Hi
-
Jim
- Global Moderator
-
- Posts: 4678
- Joined: Mon Nov 12, 2007 10:13 pm
- Location: ohio
- Name: Jim
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
-
by kachupp » Sun Jan 27, 2013 9:52 am
Perfect Jim thank you very much
-

kachupp
-
- Posts: 36
- Joined: Wed Feb 16, 2011 7:56 am
- Location: Auckland, New Zealand
- Name: kachupp
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Advanced
by irwanwr » Sun Jan 27, 2013 11:08 pm
[Plugin] Deep Nested Escape? 
-

irwanwr
-
- Posts: 594
- Joined: Fri May 21, 2010 2:21 am
- Location: Medan, Indonesia.
- Name: irwanwr
- Operating system: Windows
- SketchUp version: pre-2013
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Beginner
-
by halroach » Sun Jul 21, 2013 10:00 am
Nice! I am unable to assign a keyboard shortcut to it. How can I do it?
-

halroach
-
- Posts: 525
- 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 massimo » Sun Jul 21, 2013 10:05 am
You'll find it in the context menu: right click-->Close All Contexts
-

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 Dave R » Sun Jul 21, 2013 10:18 am
Since it is in the Context menu, you need to have something selected such that there'd be a Context menu entry for the plugin. Open a component or group within a nest and select an edge or face. It'll then be available for setting the shortcut. close.PNG
Etaoin Shrdlu
%
(THERE'S NO PLACE LIKE)
G28 X0.0 Y0.0 Z0.0
M30
%
-

Dave R
- Global Moderator
-
- Posts: 18940
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
-
by halroach » Sun Jul 21, 2013 10:42 am
Dave R wrote:Since it is in the Context menu, you need to have something selected such that there'd be a Context menu entry for the plugin. Open a component or group within a nest and select an edge or face. It'll then be available for setting the shortcut. close.PNG
Right!! thanks!!! Excellent!!! 
-

halroach
-
- Posts: 525
- 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 massimo » Sun Jul 21, 2013 10:49 am
Not so easy I'm afraid, but i might be wrong. It will work only depending on what you have selected when you assigned the shortcut and not in any situation and at any "level" of selection like the "normal" right click does.
-

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 Dave R » Sun Jul 21, 2013 11:04 am
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
%
-

Dave R
- Global Moderator
-
- Posts: 18940
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
-
by Bob James » Sat Mar 22, 2014 11:25 am
Jim wrote:Paste this into a file with the .rb extension in your plugins folder. - Code: Select all
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
-

Bob James
- Premium Member

-
- Posts: 1256
- Joined: Fri Jan 18, 2008 9:29 pm
- Location: Lompoc, CA, USA
- Name: Robert James
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Intermediate
by Jim » Sat Mar 22, 2014 11:42 am
You're welcome.
I will be adding 2 commands to Custom Toolbars named "CloseActive" and "CloseAllActive" for those who like toolbar buttons.
Hi
-
Jim
- Global Moderator
-
- Posts: 4678
- Joined: Mon Nov 12, 2007 10:13 pm
- Location: ohio
- Name: Jim
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
-
by Jim » Sat Mar 22, 2014 11:49 am
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
-
Jim
- Global Moderator
-
- Posts: 4678
- Joined: Mon Nov 12, 2007 10:13 pm
- Location: ohio
- Name: Jim
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
-
by kaas » Sat Mar 22, 2014 12:56 pm
Jim wrote:Paste this into a file with the .rb extension in your plugins folder. - Code: Select all
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.
-
kaas
-
- Posts: 861
- Joined: Mon Mar 30, 2009 5:54 pm
- Location: Eindhoven the Netherlands
- Name: kaas
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by tt_su » Sat Mar 22, 2014 3:14 pm
kaas wrote: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.
-

tt_su
- SketchUp Team

-
- Posts: 1035
- Joined: Thu Aug 01, 2013 6:16 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Mac
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by kaas » Sat Mar 22, 2014 3:34 pm
tt_su wrote: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.
-
kaas
-
- Posts: 861
- Joined: Mon Mar 30, 2009 5:54 pm
- Location: Eindhoven the Netherlands
- Name: kaas
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Bob James » Sat Mar 22, 2014 11:10 pm
Jim wrote: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 wrote: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
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
-

Bob James
- Premium Member

-
- Posts: 1256
- Joined: Fri Jan 18, 2008 9:29 pm
- Location: Lompoc, CA, USA
- Name: Robert James
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Intermediate
by Krisidious » Thu Nov 06, 2014 10:43 am
looked for this in the plugin store... didn't find it. needs to be there. doesn't seem to work in 2015?
-

Krisidious
-
- Posts: 6046
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Box » Thu Nov 06, 2014 11:10 am
Works fine for me in 2015
-

Box
-
- Posts: 5292
- Joined: Mon Jun 07, 2010 1:55 pm
- Location: Sydney
- Name: Box
- Operating system: Windows
- SketchUp version: 2022
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
-
by Dave R » Thu Nov 06, 2014 11:20 am
It does for me, too.
Etaoin Shrdlu
%
(THERE'S NO PLACE LIKE)
G28 X0.0 Y0.0 Z0.0
M30
%
-

Dave R
- Global Moderator
-
- Posts: 18940
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
-
by Krisidious » Thu Nov 06, 2014 11:22 am
Hmmm...
-

Krisidious
-
- Posts: 6046
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Krisidious » Thu Nov 06, 2014 11:23 am
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.
-

Krisidious
-
- Posts: 6046
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Dave R » Thu Nov 06, 2014 11:37 am
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
%
-

Dave R
- Global Moderator
-
- Posts: 18940
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
-
by Krisidious » Thu Nov 06, 2014 11:39 am
I have... I named it GTFO!
-

Krisidious
-
- Posts: 6046
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by pbacot » Thu Nov 06, 2014 5:13 pm
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
-

pbacot
- Top SketchUcator
-
- Posts: 6922
- Joined: Sun Jul 20, 2008 7:26 pm
- Location: Sonoma
- Name: pbacot
- Operating system: Mac
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|