While most people want to get rid of these, I was wondering where Maya stores the hypershade swatches for each shader node. I know I have seen them before, but I am not sure where. Since Maya displays them and has them rendered out if you have "Render swatches" checked under Settings/Display, I assume they are under some temp directory, but I can't find them. Does anyone know where they might be?
And if it is not possible to find them, is there a way to generate thumbnails on all shaders for current open scene? I can't seem to find an easy way that can be scripted. I know there is a way through the hypershade in 2016 to create a tab, set to Disk, and navigate it to point to textures... then Generate swatches from there, but that really isn't viable to code easily with many of the commands embedded in MEL. Also trying to avoid creating a sphere and applying textures to render out a swatch.