Can anyone suggest a line of code to enable/turn-on "Store with irradance map" in V-ray lights options panel for ALL V-ray lights on the scene? Thanks for reading and support.
Forum topic · General Scripting
How to mass turn-on "store with IR map" for all V-ray lights in a 3d max scene?
By nnq2603 · 2020-02-18
Description
Comments (2)
you can use this
obaida · 2020-03-07
for i in lights where hasProperty i "storeWithIrradMap" do i.storeWithIrradMap = on
Thanks, works like a charm
nnq2603 · 2020-03-08
Thanks Obaida, I use in scene and it works well. Have a nice weekend.
Turn On all "Store with IRR Map":
for i in lights where hasProperty i "storeWithIrradMap" do i.storeWithIrradMap = on
Turn Off all "Store with IRR Map":
for i in lights where hasProperty i "storeWithIrradMap" do i.storeWithIrradMap = off