Writing UV values directly with MEL

Greetings.

I've searched the docs on how to do this, but I keep coming up empty-handed. Given an object called "objName", what's the syntax for writing a specific value into a particular U and V coordinate? I'm looking for something like:

objName.uValue[$i] = 0.33;
objName.vValue[$j] = 0.24;

I have a list of values that I'm reading in from a file that represent a physical value (like temperature) at a point on a surface. To this surface, I plan to apply a material utilizing a color ramp in order to visualize those values as color gradients across the surface. But to accomplish this I have to know the mechanism for assigning the UV values properly. Seems simple enough, if I could get a little help from those in the know.

Thanks in advance.

Michael

this may not seem to be directly related but I'm having something of a similar issue, selecting object values directly. For subdivision surface the format takes:

objname.smf[X:Y][(a big number)], as in "$objname.smf[0:2][67108864]"

I know that to *.smu... would access subd surface uv values, which probably could be selected ... or assigned. If you can figure out the above notation please reply because I'm looking for an answer too. I wish the documentation were a lot better.

cheers
ktpr

noticed when moving uvs for subd surfaces: subdEditUV -u 0.341015 -v 0.0852537 ; There probably is a corresponding command for whatever surface your working with.

ktpr

If you're working with polygons, you can use the "polyEditUV" command, which will give you the control you want.