Hide By Category
Hide objects by their ctegory.
It will hide objects based on their class. For example if the spline object is selected the script will hide all spline objects. If the light object is selected the script hide all spline objects.
Installation: drag and drop the mcr file in max viewports. Go to Customize - Customize User Interface - "miauu" category and search for "Hide By Category" script.