I want to change the color of a sphere using Switch in MEL this is what I 
have thus far, it is not working ? 

Can you store RGB values in a int ?

string $obj_sphere = pSphere1;
int $color = 22, 204, 61;
switch ($color) {
    case $obj_sphere: 104,160,60;
    break;
    }

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c7e7983f-99f3-4ba2-805e-111f9c614144%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to