Association between polyVertex and polyUV?

Does anyone know how to get a UV point ID number from its respective vertex ID number or visa versa?

For example, through MEL, how would I figure out which polyvertex polySurface1.map[16] (

I don't know how to solve your problem, but I know that the polyOptions command, allows you to turn on vertex/uv indicies in the viewport (its the -din switch I think), so you might be able to query that node, with a vertex selected... I dunno, just a thought.

You could also play with ConvertSelectionToUVs... probably a more practical experiment than my last suggestion now that I think about it...

PS if you figure it out, I'd be interested to know how its done. I could see myself wanting such information sometime.
Cheers.

Hi,
have look to "polyListComponentConversion". For example

polyListComponentConversion -fuv -tv polySurface1.map[16];
polyListComponentConversion -fv -tuv polySurface1.vtx[1];

[mike]

Mike wins the money on this.
polyListComponentConversion is exactly what I was looking for.
Thanks for the other responses.

Woo hoo!