i have a question and answers will be appreciated i need to replace all (Falloff map) in scene materials with (falloff.map1 if != undefined)
How can i do that i can get all falloff maps but i can't replace it unless i wrote it like (i.material.... = i.material....)
THANKS IN ADVANCED.
Forum topic · Scripts Wanted
Falloff map
By obaida · 2019-10-24
Description
Comments (2)
solved
obaida · 2019-10-24
replaceInstances b c
i dont know whay
obaida · 2019-10-24
if i have object with VRay material applied to it then
$.material.texmap_diffuse = falloff ()
a = $.material.texmap_diffuse
b = a.map
c = b.map1
b = c --------(nothing will happen)
a.map = b.map1 --(changeing done)
so if i want to make this change i need to not only know what (a) is, but i need also to write it !!
in case of array how can i write (a)
ANY HELP , thanks in advanced.