Attach archivable dictionary to an object


#1

Hello,

I found this class to be very fast in comparison with setUserText to save some extra data.
But I cannot find a description how to add such a dictonary to an object. Did I have overlooked something?
A solution would save my day!

Philip


(Menno Deij - van Rijswijk) #2

You should user UserDictionary to attach data to geometry. ArchivableDictionary is only for writing to 3dm files as far as I know.


#3

Thanks for your hint, menno. It led me the right way. It seems also an UserDictionary is a kind of an ArchivableDictionary. And the really great part is that i can store several ArchivableDictionaries in an objects UserDictionary - exactly what I was looking for.
Have a nice day!