hhr
(hhr)
April 25, 2014, 11:32pm
1
I had a UV Unwrap.
And i want to select a Linked vertices of UVmap such as below image.
But i don’t want to use a bpy.ops.uv.select_more().
How to select a linked vertices on UVmap by other way?
Perhaps, is there a link_edges property?
Please answer to me.
Thank you.
Atom
(Atom)
April 26, 2014, 5:39am
2
Let’s see…if we just go to blender.org and click on support we can reach the API page. Then I type ‘mesh’ into the search field and choose Mesh(ID) from the result list. The page that comes up shows a short piece of code that shows how to print the vertices for each UV.
http://www.blender.org/documentation/blender_python_api_2_70_4/bpy.types.Mesh.html?highlight=mesh
I don’t know a lot about uv_layers , but if you dig down into the data structure you finally reach the level where you can ‘select’ a UV vertex.
http://www.blender.org/documentation/blender_python_api_2_70_4/bpy.types.MeshUVLoop.html#bpy.types.MeshUVLoop
CoDEmanX
(CoDEmanX)
April 26, 2014, 7:24am
3
bpy.ops.uv.select_linked() # mesh needs to be in editmode
With bmesh module, there is apparantly no link_edges or similar to find out.
hhr
(hhr)
April 27, 2014, 9:02pm
4
Thank you.
I feel good know more knowledge.