ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
How to mass turn-on "store with IR map" for all V-ray lights in a 3d max scene?
Submitted by nnq2603 on Mon, 2020-02-17 21:03
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.
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
Comments
you can use this
Youtube, Gumroad
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