View Single Post
# 4 24-09-2007 , 05:00 AM
Eelco's Avatar
Registered User
Join Date: Oct 2004
Location: In my dreams
Posts: 152
Thanks, but I'm working in 8.0. Besides I know even less of Python. I'd better stick to MEL for the time being.
I'm making game models and only use the defaul texture in the modeling process. A simple script which I can easily remember is sufficient.

I basically want to know what data type to use to store the transparency I get from getAttr "Lambert1.transparency". Vextor? And how to use it in a conditional expression.

vector $transparencyValue = `getAttr "lambert1.transparency"`; // result <<0, 0, 0>>
if ( $transparencyValue != ??? ) // this is my problem area



Portfolio: https://www.sharecg.com/pf/Dieko