Hi, as the title says, i would like to iterate through the values of the "Total" array of the VRayLightMeter utility during a script execution to calculate the average number.
Currently i have to export the values as an CSV file and calculate there the "average" value of the "Total" array value numbers.
My question is, is it possible to access those directly through MEL?
I could not find any examples for calculating the average sum in the documentation.
I know there was a way in MAX Script for this (see example).
Is there a MEL equivalent?
Currently i have to export the values as an CSV file and calculate there the "average" value of the "Total" array value numbers.
My question is, is it possible to access those directly through MEL?
I could not find any examples for calculating the average sum in the documentation.
I know there was a way in MAX Script for this (see example).
Code:
// Get the average value of VRayLightMeter points function lightMeterAverage &vrayObject = ( arrayMean vrayObject.total )
Comment