Abaqus - How to get the max value displayed in each viewport as output in csv, excel format through abaqus script

I have been trying to automate the process of reporting stress contour plots for each component. I have reached till opening each component in new viewport, assign the stress contour and get the images captured. But i am not able to get the Max value displayed in each viewport as output in any format easily. Is there any script to do that? Can someone help me with this? 

Abaqus ​​​​​​​