deselect objects with certain name

 From:  Michael Gibson
5950.2 In reply to 5950.1 
Hi mir4ea, I think it should be possible to make a script to help with that, but I'm not entirely sure I understand the hiding and showing part - if you want to deselect some currently shown objects, why do also want to show currently hidden objects as well? Because hidden objects are already not considered selected, they can just stay hidden and they will not be selected already then.

I should be able to make a script that goes something like this:

1. Script remembers which objects are currently selected, then clears the selection.

2. Script asks you to click on one object.

3. After you have clicked on one object, the script restores the original selection except it deselects all objects that have the same name as the object that was clicked on.


Will that work?

- Michael