Max viewport texture display script?

I have a scene with a large number of animated singers that I need to be visible for camera move planning.
Anyone have an idea of a script which will automate the toggling of those materials in viewport?
The problem is that there are 150 unique materials that need to be toggled in order to have some degree of update in the viewport,
so impossible to go through manually each time

EDIT: There is an option in Viewport config which toggles textures…so that would be what I’m looking at hopefully having a script button do, if that helps :slight_smile:

You mean turn the diffuse textures on/off? I always use this one: http://www.scriptspot.com/3ds-max/scripts/turn-viewport-maps-onoff

Hmm, looks good, thanks - but doesn’t work in Max 21

Edit: Actually it does seem to work, though it is glitchy…need to press on/off a few times before it kicks in and does anything.
Better than nothing and a working solution, so thanks again :slight_smile: