I am trying to create a script that involves the creation and setup of a UV Project modifier. When it comes to set the UV Map of the projector, there is no problem at all:
import bpy
bpy.data.objects['piece'].select_set(True)
bpy.ops.object.modifier_add(type='UV_PROJECT')
bpy.context.object.modifiers["UVProject"].uv_layer = "UVMap"
But when I'm trying to set the projector object, I find no way to do it, as "projectors" property seems to be read-only:
Q: Am I missing something or precisely that property is just not scriptable?