I tried to use this script that was on the Chaos Group Help website and tried to use it but would not work. It would still only calculate one lightmeter at a time when I have multiple lightmeters in my scene.
To recalculate all VRayLightMeter helpers in the scene, you can use the following MaxScript function:
Can someone verify this if this is written correctly or maybe I am using it wrong. Please help. This would speed up our work flow ten fold. We use the lightmeter often.
Thank you.
To recalculate all VRayLightMeter helpers in the scene, you can use the following MaxScript function:
fn calcAllVRayLightMeters = ( local lightMeters=getClassInstances VRayLightMeter for lightMeter in lightMeters do ( if lightMeter.active then lightMeter.calculate() ) ) |
Can someone verify this if this is written correctly or maybe I am using it wrong. Please help. This would speed up our work flow ten fold. We use the lightmeter often.
Thank you.
Comment