Hello,
for my GoZ-like script, I need to display an image on a mesh faces. I use uvtex.data.image to assign an image, but it does not work (with the “textured solid” mode activated).
import bpy
img = bpy.data.images.load("c:/Rendus/ps_0001.jpg")
ob = bpy.context.object #get the default cube
me = ob.data
uvtex = me.uv_textures.new()
for mface in uvtex.data:
mface.image = img