vray matte alpha
Hello
I did a line of script to see which object has no alpha
-----------
$*.wirecolor = black
for bbb in objects where getUserProp bbb "VRay_Matte_Alpha" == 0.0 do bbb.wireColor = red
------------
but I can't manage to compare "VRay_Matte_Alpha" != 1.0 or with "<="
can anybody help ?
Thanks
Comments
You don't compare
You don't compare
"VRay_Matte_Alpha"
to a value.You use
getUserProp bbb "VRay_Matte_Alpha"
, as you did in your first comparison.Store it in a variable first.