As per question, I would like to build a function that is only executed upon opening the blender preferences.
But I checked in the Blender API under bpy.app.handlers
, and found nothing.
Anyone have any idea how to do it, if it is possible?
The basic idea is to run this function when my addon is shown "Open" in the addon preferences.
Such a thing if it existed: -->bpy.app.handrers.on_my_addon_preferences_open
"""<--
I would like to be sure that I consume few resources, as I have to be careful not to overload the work at all. I think I could use various handrers and do the trick. But I'm sure there is someone here who can perhaps suggest me the best way to make a sensible system