Using the UserDictionary on layers and objects is easy if you know what type you’re storing. What I’d like to do is be able to store arbitrary types, both Geometric and non-Geometric. I’d like to avoid TryCast-ing to every known data type accepted by the ArchivableDictionary class. I’ve tried using GH_ObjectWrapper and casting using the dynamic keyword with no luck.
My next test will be to separate GeometricGoo from Goo types and convert all Goo to strings.
Additionally, I’d like to be able to store custom data types not represented in the ArchivableDictionary…