[Plugin] Unhide ALL (Edges) - Inside Groups / Components ???
-
here ya go unhide from groups/components on selection or all if no selection
-
Thanks TBD,
'Case' looks much nicerTomasz
-
-
Tomasz / TBD,
I've noticed some strange results with the last script that was posted (TBD)
Or maybe its just my misunderstanding of how GROUPS work ???
...
See attached fileAll Geometry are Groups - NO Components.
See what happens when 1 group is copied several times eg the blue cube.
When selected and the script is run - ALL instances of that group are edited. (edges are unhidden)
I might expect this to happen with Components but not Groups.Is it possible to get the script to run on selected geometry only ???
...
Regards
Howard L'
-
I've written an extension, unfortunately my web provider had a problem and my website has old content (I'll fix this).
azuby
-
azuby: unfortunately it suffers from the same problem - somehow duplicated groups have the same entities as in a component
-
I wrote this 'group_miner' script some time ago. It mines down through into any groups and makes sure that all groups are unique... Put it into your Plugins folder and it auto-runs at start up to ensure that the model is initially 'fixed'. You can invoke it in any script (remember to 'require' it if needed BUT it's a short bit of code to copy/paste inside any script anyway)... OR just type 'group_miner(Sketchup.active_model.entities)' to repeat the process 'live'...
-
and here is the fix (thanks TIG) - works with both .skp from JClements & Howard L' (for the cube in JClements .skp you need to triple click to select all connected as it is not a group)
-
Thank you TBD and TIG.
This will be useful.
-
Tomasz / TBD / TIG,
Thanks to all of you for working on this script.
Now works really well.
Regards
Howard L' -
Is the fix posted in this thread still needed for the latest SketchUp versions?
-
@jim said:
Is the fix posted in this thread still needed for the latest SketchUp versions?
i just did the test, and yes it is still needed
-
@jim said:
Is the fix posted in this thread still needed for the latest SketchUp versions?
Currently the failure to ensure that copies of a group become single instances of a definition is not fixed -
group.make_unique
still reports as being deprecated, but it is needed - it is possible to have several copies made of a group definition where they act like component instances, and so changing one instance changes the lot - it's what Components are supposed to do BUT that's NOT what groups are supposed to do... When you copy a group it should automatically become a single instance of its definition - there should never be the equivalent ofgroup.definition.instances[1]
. It doesn't currently work properly - either manually or scripted... -
yesterday and today sketchup 2013 completely froze when using the unhide plugin (which I have used many times before witout problems)
the only difference I can see is that I twice had the outliner and components windows open, which I didn't before
both these windows were on a second monitor which I didn't have before either
anybody else had this experience?
Frank -
I have seen it discussed before, quite a while back, that Outliner especially, and Component windows can cause issues with your work when they are fully open. If you click on the top bar of each, they will "roll up". This, I have read, will reduce the problem.
Hope this helps. -
Alas, I too have found this plugin freezes in Sketchup 2013. I tried closing all dialogs, particularly the outliner, scenes and layers, and no luck. Pity.
-
@michaelhund said:
Alas, I too have found this plugin freezes in Sketchup 2013. I tried closing all dialogs, particularly the outliner, scenes and layers, and no luck. Pity.
No freeze here, just doesn't appear to do anything at all. Won't even unhide elements within the currently open component, even after view>hidden and Ctrl-A.
Will fiddle with it a bit more when I have time.
-
Here's v2.0 - I tweaked it to unhide from the active_context downwards - unhiding everything, even in deeply nested sub-containers...
If you start in the model it unhides 'all' entities.
If you start in a group it unhides 'all' entities inside that group etc...
It is one step undo-able.
http://sketchucation.com/pluginstore?pln=unhide_all -
Latest update seems to be working.
This should save a lot of time when I'm having to shuffle stuff around and hide/unhide a lot to clarify something for the fabrication crews.
-
TIG, your plugin makes Sketchup 2015 crash when there's lots of edges.
Advertisement