Does anyone know of a mel way to get a Ramp's color entry list index's. ie: if you have a ramp with 3 colors in it, you will have:
ramp1.colorentrylist[1].color or ramp1.colorentrylist[1].position
where [1] can be 0..1..2..3....etc....
The problem is I want to search through the ramp to find a index at a certain postition....but lets say the users ramp has indexes, 3 and 4....
If I do a: getAttr (ramp1.colorentrylist[1].position);
then it MAKES a new ramp entry at that point with a default red color, thereby screwing up the ramp. Is there a way to get this info that anyone knows of?
Thanks.
-comet