deselect objects with certain name

 From:  Michael Gibson
5950.4 In reply to 5950.3 
Hi Mir4ea, MoI does actually have a "Show selected objects" function already - you can activate it by holding down Ctrl while clicking on the Edit > Hide button.

When you do a Ctrl+click on that button it will do a "Show subset" type function, where it will first temporarily swap all hidden and shown objects, so you are temporarily viewing all hidden objects on screen only.

Then it prompts you to select which objects you want to show, and at this point you should be able to use any selection scripts you already have. Then when you finish that step (right-click in a viewport or push "Done"), everything will reset back and only those objects that you picked will get shown instead of everything getting shown.

Does that do what you need? It sounds like you already have a script set up for extending selection to objects with the same name as what is currently selected? Or do you need that also?


There's also another function in addition to that on Edit > Hide - if you right-click the Edit > Hide button it will do an "isolate" selection where it keeps only the currently selected objects to be displayed and hides all deselected objects. It remembers the hidden/shown state of all objects at the time of the isolate and then when you go do the isolate a second time it will restore that previous state.


So use Ctrl+click on the hide button to do "Show subset" (same as "Show selected objects" in Rhino I think as you are asking for), or right-click on it to do "isolate selection", as additional functions to the just plain hide/show that you get on a regular left click on that button.

- Michael