For future reference, you may want to take a look at pyRevit's "Wipe Unpurgable Viewport Types.pushbutton" which might provide you some guidance
For future reference, you may want to take a look at pyRevit's "Wipe Unpurgable Viewport Types.pushbutton" which might provide you some guidance