ManuelM
06-02-2006, 11:48 AM
lets say i have a sphere with an extra attribyte of type "enum" ...
sphere -n mySphere;
addAttr -ln colors -at "enum" -en "Green:Blue:Red:Black:White" mySphere;
setAttr -e -keyable true mySphere.colors;
how can i query, the total number of possible values of mySphere.colors
hope i made myself clear. i want maya to return "5", as thats the no. of colors to choose from in my example.
many thanks for your help in advance!
sphere -n mySphere;
addAttr -ln colors -at "enum" -en "Green:Blue:Red:Black:White" mySphere;
setAttr -e -keyable true mySphere.colors;
how can i query, the total number of possible values of mySphere.colors
hope i made myself clear. i want maya to return "5", as thats the no. of colors to choose from in my example.
many thanks for your help in advance!
