Selecting objects by the UV map name

If we need to find and select all objects in the scene whose UV-Map map name matches the specified one, we can do this using the Blender Python API.

First, let’s deselect all the objects in the scene:

To select the necessary objects, let’s loop through all the meshes of the scene:

Loop through all the UV-Maps of each mesh and check if the UV-Map name matches the given one. If yes, select this object.

Full code:

In this example, those meshes that have at least one UV-Map named “UVMap” will be selected.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Inline Feedbacks
View all comments