Thanks Bartalon, Yet this solution doesn't work very quickly, how do you select a few objects then hide everything else? You inverting your selection every time?
Alt +h works for me. Best I can suggest is to go into the Hotkey Editor, under "Categories" find "Display" then under "Commands" find "HideUnselectedObjects" and reassign it. There is also Show > Isolate Select > View Selected, but it won't be anywhere near as quick, but you can script access to this too.
I got pretty annoyed with the hotkeys for hiding/unhiding objects in Maya so I wrote a bit of code for better functionality. nameCommand -annotation "Hide/Unhide Selection" -command "string $lastHidden[]; string $hideselect[] = `ls -sl`; string $vis[] = { }; $count = `size $hideselect`; for ($i=0; $i < $count; $i++) {…
Ah, yeah I suppose you'd have to invert your selection. I generally don't have a large amount of objects I need to toggle on/off with the hide hotkey. If you know a bit of MEL you should be able to tailor the code to your own work flow. If my scene starts getting cluttered I start using layers or grouping objects in the…