I am reworking a patch to separate the logic and the UI with the pattr system. So far it is working out really well.
I am controlling pattrstorage remotely from my UI patch via a pattrforward. That works fine. But I'm stuck on one detail: I have a pattrstorage hierarchy and the top-level pattrstorage will change the slot numbers of my lower-level pattrstorages. I need my UI objects to update to reflect the active slot numbers. The problem is I can't seem to get the current slot number through the pattr system. For example, I can't access anything about a pattrstorage object through a pattrhub. I guess this is because you can't bindto a pattrstorage.
Are there any tricks to make this happen? Or am I going to have to either
(A) introduce an additional pattr to store the slot number, and bindto that.
(B) Do some scripting with forward and receive objects to communicate the slot number back to my UI patch?