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
_Lele
May 27, 2021, 2:20pm
2
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.
_Lele
May 28, 2021, 6:24am
4
.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
_Lele
May 28, 2021, 9:35am
6
Therein lies your code
with the light selected:
$.normalizeColor = 4
myReadLightValue = $.multiplier