Maybe there's a way to do this, but from time to time I need a new Layer or Class & either forget to make it visible to all at the time of creation, or a situation changes & want to show this Layer or Class on all (or mostly all) Viewports.
Alternatively I'd like to be able to select several Viewports & turn on a Layer of Class.
There are two scripts below - I use these all the time. Credit to @michaelk.
Rename selected viewport:
{This script will take all selected viewports and change the name of those viewports to be
(Sheet Layer) (Drawing Number) (Drawing Name)
Procedure ViewportRename;
{Badly Scripted by Michael Klaers. Updated Aug 2, 2015}
{This script will take all selected viewports and change the name of those viewports to be
(Sheet Layer) (Drawing Number) (Drawing Name)