Can you export the material views with scripting?
A customer would like a image of the of the material props (right red box) as seen below.

All of the Graphics.ExportImage or ExportScreenToImage seem to only export the geometry. (Naturally 99% of the customers want the geometry plot, but this customer wants to put the materials image into a report).
My current script:
import os
saveDir = r"D:\"
pxDim = [1200,1000]
matList = [i for i in Model.Materials.Children]
def TakeScreenshot(args):
h = args[1][0]
w = args[1][1]
Graphics.Camera.SetFit() #?
totalPath = os.path.join(args[0], args[2] + '.png')
ExtAPI.Graphics.ExportScreenToImage(totalPath)
showAll()
for mat in matList:
mat.Activate()
ExtAPI.Application.InvokeUIThread(TakeScreenshot, [saveDir, pxDim, mat.Name])