Hi there,
I'm working on a plugin switching symbols between different themes. I noticed that if I change the symbol from the right side panel, the new symbol is not imported again, it simply changes the properties of the initial symbol.
Assume these are all interchangeable states. They are created as individual symbols in a linked library.
https://drive.google.com/file/d/1tKmh_KeEj-81YSWvSA7__SqsAe4oPwDA/view
My challenge is that the plugin will switch the originally imported symbol and not the new one changed from the right side panel. Below, I copied an imported symbol and changed its state.
https://drive.google.com/file/d/1A-J3q84IJXpkimV2LkhQppRQzS6BPzsj/view
Now if I log these 2 symbol's names, I get the same name, which doesn't reflect the above mentioned right side panel. Any change I can get the new symbol name too ?
I get this
Form/Light/_/Text/01. Enabled
Form/Light/_/Text/01. Enabled
I was expecting this
Form/Light/_/Text/01. Enabled
Form/Light/_/Text/01. Error