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 Edward Snowden · 2020-02-18
Comments (2)
Comment policy
you can use this
Thanks, works like a charm
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