Hi all,
I'm need a help with color correction, in my development script for example I have
if meditMaterials[5].texmap_diffuse == Color_correction then ( print "ok" ) else ( print "not ok" ) But this has not worked, I tried Color_correction colorCorrection Color correction, and nothing has worked, do not know if I need to take for some class / superclass ...
ps. I use the Vray (.texmap_diffuse)
if someone can help ...
thanks in advanced...
Comments (2)
Comment policy
Use this
if isKindof meditMaterials[5].texmap_diffuse Color_Correction then "ok" else "not ok"
--or
if classof meditMaterials[5].texmap_diffuse == Color_Correction then "ok" else "not ok"
--or
if getclassname meditMaterials[5].texmap_diffuse == "Color Correction" then "ok" else "not ok"
hey Barigazy, very good... thanks man...