Arrays: http://download.autodesk.com/global/docs/maya2014/en_us/files/Arrays_vectors_and_matrices_Arrays.htm
Vectors: http://download.autodesk.com/global/docs/maya2014/en_us/index.html?url=files/Arrays_vectors_and_matrices_Vectors.htm,topicNumber=d30e790326 On Mon, 5 Oct 2015 7:15 AM Christopher. <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/python_inside_maya/c7e7983f-99f3-4ba2-805e-111f9c614144%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3boVZOy2Da3%2Bnk%2B%3Dn15j4Z6UXgRPWP9D%3DmOKMEMiwsJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
