Full disclaimer: I am not great at BPY coding, I am pretty good at Python but Blender’s API is weird and hard to grok.
I have a script that adds some properties to the shapekey panel on an object in the Properties Editor, to simplify setting up drivers for the shapekey. It’s fairly simple (although not optimized at all):
My ArbCbsProperties is the PropertyGroup that adds properties to the shape key panel. Then, an operator uses
To get those properties and use them. Pretty basic stuff.
My problem is that this uses the same properties for all shape keys per object. arp_cbs_props is unique per object, so the properties are unique per object, but not per shapekey. I’d like to be able to have unique properties per shapekey- and, if possible, update them dynamically, creating a new property group when a shapekey is created.
I’ve tried- with my shaky and limited knowledge- to do this, with absolutely no success. Truthfully, I’m not even sure where to start here. Any help is greatly appreciated