VRayLight maxscript access

Hi!

I have to get the .intensityType value for vray lights via maxscript. But how can I do this?
the macrorecorder is showing me this:

$.normalizeColor = 4
$.multiplier = 0.069907
undefined.intensityType = 0
undefined.intensity = 11.43

and show $ is not listing something I can use

There is no such property on v-ray lights, that i can see.
What exactly are you trying to achieve?

I want to export existing lighting setups to blender and keep the intensity values.

.multiplier is what you’re looking for, then.

All the lights are set to “Default” units. For Blender I apparently need W/m^2/sr. Thats why I want to e.g. switch to that unit and then read the .multiplier

Therein lies your code :slight_smile:

with the light selected:

$.normalizeColor = 4
myReadLightValue = $.multiplier

thank you! :slight_smile: