This is script is based on invert selection written by TIG, I just add a little function to hide selection.
Installation n using :
1. Put the script in the sketchup plugins directory (ex : C:\Program Files (x86)\Google\Google SketchUp 8\Plugins)
2. Restart the sketchup if it ran, fire up sketch and select any object, you'll find it in right click menu.
3. just right click, invert selection
4. To unhide all object, just using unhide all/last from sketch up function, you know how to do it right ?
Best regard
Fajar
Credit to TIG - Invert Selection