Question 1 ]
I did UV Unwrap.
And i did select a some vertices on mesh at 3D-view editor.
And i run script a such as below.
But why not selected a vertex on uv layer?
import bpyme = bpy.context.object.data
uv_layer = me.uv_layers.active.data
for face in me.polygons:
for li in face.loop_indices:
vi = me.loops[li].vertex_index
if me.vertices[vi].select == True:
uv_layer[li].select = True
print("li : " , li , "vi : " , vi , "uv : " ,uv_layer[li].uv)
for ar in bpy.context.screen.areas:
Bmesh had select_history property.
Maybe Does Uv_layers have select_history property?
Please answer to me.