Invert and hide in one script?

 From:  Michael Gibson
12003.5 In reply to 12003.4 
Hi Booleano,

re:
> And return it to how it was?

There is an Isolate function which will hide everything that is not selected, and also retain a memory of what was hidden and visible before.

When you trigger it a second time it will restore everything to its pre-isolate state.

That is available by right-clicking on the Edit > Hide button, or if you want to put it on a shortcut key use this:

script: moi.geometryDatabase.isolate();

- Michael