Isolate objects in detail

Has this ever been made into a command?

Going to make a quick Macro and button to share, wherein you can select object(s) you want to isolate in detail, and the macro will Invert>HideObjectsInDetail.

If there’s a more built-in way to do this, I’m sure that would work better.

EDIT: Here’s a screenshot or the Macro Editor. You can make ur own button b/c mine is lame