[Plugin] Selection Toys
-
In the model, I have 420 instances of a single component.
I select one of the instances, and right click.
Under the "Instances" context menu, I choose "Select All".
What I want to happen, is that all 420 instances of this component to be selected. In my case, nothing happens. Nothing posts to the console. Am I trying to use it correctly?
@thomthom said:
@danbig said:
I get no error message, but the context menu doesn't seem to do anything for me. I'll check the console next time I try.
@thomthom said:
That button is to filter the selection.
To select similar instances, use the context menu.
Can you describe more specifically the steps you are doing? And what you have pre-selected etc?
-
Can you post or send me a sample model?
-
Really useful stuff!
TT, Thank you so much!
-
Here's a sample model. I can't get the selection toys plugin to select all the instances of either component. I'm pretty sure that there is something simple about operating this plugin that i'm missing.
@thomthom said:
Can you post or send me a sample model?
-
@danbig said:
Here's a sample model. I can't get the selection toys plugin to select all the instances of either component. I'm pretty sure that there is something simple about operating this plugin that i'm missing.
@thomthom said:
Can you post or send me a sample model?
I tried both
Instance -> Select Active
andInstances -> Select All
and both of them worked... -
(Okay, so this was when I got stumped for losing my toys.)
Now I am fine and I also tried and can select all or active instances with no issues.
-
Strange. I wonder if I have an obscure conflict with other plugins that doesn't result in an error message, but which prevents selection toys from operating normally. Is such a thing possible?
I'll scrub through my plugins and see if it works when it's the only plugin installed.
@thomthom said:
@danbig said:
Here's a sample model. I can't get the selection toys plugin to select all the instances of either component. I'm pretty sure that there is something simple about operating this plugin that i'm missing.
@thomthom said:
Can you post or send me a sample model?
I tried both
Instance -> Select Active
andInstances -> Select All
and both of them worked... -
It would be very odd.
And you are sure you have the latest version..?
-
I don't know what happened, a few days ago everything was fine, but this mornig I opened Sketchup and I got this message"
"Error Loading File tt_selection_toys.rb
no such file to load -- TT_Lib/ui_manager.rb"
I have the latest updates for TT_LIB2 and TT_SELECTION_TOYS .I can't see a file called ui_manager.rb anywhere.
Has anyone an idea about what's going on? -
TT_Lib2 does not replace TT_Lib version 1.
For Selection Toys you need to have TT_Lib linked in this thread original post.Version 2 is not backwards compatible with version 1.
-
Thank you thomthom, this solved my problem.
-
I love the concept and potential usefulness, but I have a slight issue: I can't seem to get it to work (specs on the sidebar). I haven't messed with any of the files or their locations within the folders - I simply unzipped the files provided and then drag & dropped the folders "TT_Lib" and "tt_selection_toys" into "Macintosh HD>Library>Application Support>Google SketchUp 8>SketchUp>plugins".
I don't get an error message when I launch, though.
I also tried copying the same folders to the SketchUp 7 equivalent of the plugins folder ("Macintosh HD>Library>Application Support>Google SketchUp 7>SketchUp>plugins"). Same result - no "Selection Toys" shows up under the Tools drop-down menu, but no error message appears, either. That folder only contains the standard plugins from Google (Ocean, Examples, and Utilities) so it's not an issue of plugin interference, either.
I've no idea what else I should try doing but would really like to use this; thanks in advance, both for the advice and the (massive) coding.
-
When OSX unpacks a zip files it always unpacks them into folders that has the same name of the zip. DO NOT move these folders into your plugins folder. Move the CONTENT of these folders into the plugins folder.
You should have in your plugins folder a file tt_selection_toys.rb and a folder TT_Select_Toys. You should also have a TT_Lib folder which contains a set of .rb files and some more stuff.
-
And just a note.. if you had migrated from an older Sketchup version (say 5.x or 6.x,) and copied your entire "plugins" folder (dir,) be sure in SU 7.x and 8.x, that you delete (or do not have,) these files in your "plugins" dir:
- sketchup.rb* extensions.rb* langhandler.rb
These files have been updated for vers 7+, and the newer versions are now in the "Tools" dir. (Leave the new files as is, and DO NOT copy old versions from SU <7 into the "Tools" dir. This dir is for Google's internal extensions. You can read the files, but don't change them. AND do NOT redistribute them with custom plugins. The installer will install them, and update them during maintenance releases.)
- sketchup.rb* extensions.rb* langhandler.rb
-
@thomthom said:
When OSX unpacks a zip files it always unpacks them into folders that has the same name of the zip. DO NOT move these folders into your plugins folder. Move the CONTENT of these folders into the plugins folder.
You should have in your plugins folder a file tt_selection_toys.rb and a folder TT_Select_Toys. You should also have a TT_Lib folder which contains a set of .rb files and some more stuff.
That did the trick!
Sorry for asking such a newb question -
Hi,
I get no text in my Cheat sheet window. I open UI Manager and this item is checked, so it must be enabled, right? I have expanded selection options in the context menu.
I have reloaded the plugin and TT_Lib (1.2.0) So in the Plugin folder I have
TT_Select_Toys
tt_selection_toys.rb and
TT_Lib.I've read the first post. Are there more instructions?
Thanks, Peter
-
hmmm.... there might be a bug under OSX there...
-
In the process I sorted out something I wanted to use--convert similar groups to components. EXCELLENT. Thanks a bunch. I had imported a component with many replicated groups. I'll try to bake up some cookies.
Peter
-
Hi,
I want to select multiple components with similar definition names (like "compo" and "comp#1") in the entire Model. It means, it means not only those inside the selected object, but also the others ones which are inside other objects.I have the following plugins:
[] "Selection Toys", which selects components from everywhere, but only those with same name.
[] "Select Instances", which selects component families with similar names (like "compo" and "comp#1"), but only inside the selected object and not everywhere. -
Thanks TT,
This works great to select and delete all the unwanted faces that so often come with imported CAD files. It's a great time saver.
Thanks again.
Advertisement