a particular situation requires me to select all objects in scene with vray material and reflection more than 0
any thoughts
thanks
Forum topic · Scripts Wanted
By obilia · 2015-09-18
a particular situation requires me to select all objects in scene with vray material and reflection more than 0
any thoughts
thanks
`
pixamoon · 2015-09-18
Hi, Try something like this:
clearselection()
for o in objects do (
VrayMaterials = getclassinstances VRayMtl target:o
local loopmore = true
for m in VrayMaterials while loopmore where m.Reflection != color 0 0 0 or (m.texmap_reflection != undefined and m.texmap_reflection_on == on) do (
selectmore o
loopmore = false
)
)
Best,
Pixamoon