During my search for the best way of managing user data, I encountered with some terms UserText and UserString. I guessed the UserText is the dictionary that is readably by the user from “Properties: Attributes User Text” frame. However, I am not able to find some of the methods exist in those comments. Besides, I am confused, whether the UserString is the new name of the UserText? I gave it a try, and set UserString properties of attributes of an object. Then, I couldn’t find any of the Key-Value pairs of the UserString on the “Properties: Attributes User Text” frame.
I tried to ask ChatGpt about this issue, it also got stuck and begin to send inconsistent answers.
Yep they’re the same, I think UserText used to be called UserStrings in one of the older versions of Rhino. I’ve heard it called UserStrings too.
You see UserText only mentioned in the docs from Rhino 7, and the implementation for the User Text convenience functions in RhinoScriptSyntax calls UserStrings methods:
Thank you James for sparing your time. Then I checked my source code and tried UserString again. Now I see it is the same. I got the values of UserString on the frame “Properties: Attributes User Text”.