# 3d vertex.index equivalent in UV 2d

actually I know how to take the 3d and 2d (UV) vertex data.... I'm using this code with a little modifications

Now I'm trying to find the 3d vertex.index equivalent in UV 2d. that in order to know the uv vertex cordinates of especific 3d vertex index.

I have the same len(3d vertices) and the len(uv 2d vertices), and the 3d vertex only have 1 representation in UV 2d view.

but after run the code I have this:

in the example image I have 3d vertex.index #11 selected and only one UV 2d vertex selected too with his 2d vertex cordinates (366,839)

in order to know that specific cordinates I have:

if ob.data.uv_layers.active.data[v.index].select:
print("vertice selected: ", v.index, " cor: ", uv[0]*x, uv[1]*y)


but as you see in console I have crazy results

UPDATE I have the same result without UV synch

UPDATE: if I select all the verts and in UV editor select 1 point... the result is crazy too... but I want to know the index relation between 3d vertice index and 2d point index and with this method is imposible: do you have some ideas please?

• disable selection synch and try again ( it seems that UV selection is not updated while it is active ), you are seeing the previous selection before activating the selection synch option – Chebhou Apr 19 '15 at 0:41
• @Chebhou thanks for ideas but I have the same result without UV synch, please check the image – yhoyo Apr 19 '15 at 1:07
• did you reselect again after disabling synch ? you have to select in the UV editor this point to be considered as selected – Chebhou Apr 19 '15 at 1:07
• @Chebhou, yes, of course... wait.... as you see I can't select that in the UV editor because I can't see that... but any way I have the same result – yhoyo Apr 19 '15 at 1:08
• please , select all the verts and you'll see that this point is not selected in the UV – Chebhou Apr 19 '15 at 1:12

for v in ob.data.vertices :