I have a multi-file/multi-folder add-on, with preferences properties created in a prefs.py.
import bpy class AddonPreferences(bpy.types.AddonPreferences): bl_idname = __package__ my_property : bpy.props.BoolProperty( name = "my_bool", )
I can easily access this bool in my __init__.py with:
But I can't manage to access it in panel.py placed in a UI folder. What is the correct way to call that property in a multi-file add-on?