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
Forum topic · General Scripting
vray matte alpha
By titane357 · 2011-04-26
Description
Comments (1)
Garp · 2011-04-26
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.