I'm currently working on a Blender addon, and I'm facing an issue regarding the creation of dynamic properties for UI panels. Specifically, I'm trying to read parameters from a JSON file and display them as sliders or input fields within several panels.
The problem is that I can't find a suitable method to dynamically create these properties based on the data from the JSON file. I've attempted to create them within a callback function or directly in the draw() method of the panel that contains the button responsible for reading the JSON. This answer seems to be similar to what I'm looking for but I haven't been able to get my head around it.
Could someone please guide me on how to dynamically generate these properties and have them displayed as sliders or input fields within the panel? Any help or code examples would be greatly appreciated.
Thank you in advance!