Recently I had to create lightprobes from python data api without operators but it didn’t seems possible.
Until now, it is only possible to correctly add a lightprobe in python via an operator:
It can’t be done correctly from bpy.data api because the lightprobe type isn’t exposed in the constructor.
I made a small patch which fix the lack of consistency of lightprobe creation without operator.
It allow creation of different lightprobe type directly via bpy.data.lightprobes.new(name, type) (such as for curves).
Is it the right way to do it ?
Thanks in advance !