Quickly renaming UV-maps of selected objects to the same name in Blender

When joining several objects into one, there is one feature in Blender – if the names of the UV-map of the objects are different, in the new, joined object, each UV-map will be placed on a separate layer. In order for all the UV-maps in the joined object to also be combined into one, they must all have the same name.

We can quickly rename the UV-maps for all selected objects in Blender using a simple script.

Walk through all the selected objects in the scene in a loop:

We can get the name of the first object’s UV-map as follows:

After checking if the UV-map for the current object exists.

Since all the UV-maps have different names, when merging the selected objects, we will end up with three UV layers with separate UV maps.

To merge the object’s UV maps into one, we have to set them one common name, for example, the standard “UVMap”.

Full script code:

After executing this script, we can safely join objects, and as a result we will get a single UV-map for the final combined object.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments