i have a model with multiple materials and i like to change the UV-Map for the texture slot "0" I got it to work with only one material:
import bpy bpy.data.materials["Wand_Putz_Weiss02.tif"].texture_slots.uv_layer = "UVMap"
or like this:
import bpy bpy.context.object.active_material.texture_slots.uv_layer = "UVMap"
is there an way to change the "used uv layer" in all materials assigned to an object? thank you very much for your help!