I want to extract the max values of a field output of a cut section of my model for every section using a python script. The issue is that the max values shown on Contour Plot Options displays the max values for the whole 3d model and not the cut section (2d on z axis) on the viewport. This can be confirmed by the legend shown on the viewport for that cut section.
I require the max value that is shown in legend for that specific cut section for all the increments. If it possible to extract of 1 frame using python script, I can loop it for all the increments.
Thank you!
You can make use of
getPrimVarMinMaxLoc()
method available forviewport
object.