Adding User Strings to Objects


(Joann Li) #1

Dear developers! I am learning “Adding User Strings to Objects”, I copy complete code on the example, then debug pass .Rhino reminders me " select object to attach user text" and I select a line .I do not know how to do next?

/Joann


(Pascal Golay) #2

Hi Joann - user strings in the Rhino UI are added by first entering a ‘key’ and then a ‘value’ - the value is the actual user string and the key is used to be able to locate a particular value.

So for example enter a Key of “Supplier” and a Value of “Company 1” A different object might have a key of “Supplier” and a value of “Company 3” etc.

-Pascal


(Joann Li) #3

Dear Pascal, thank you for your reply, I try to understand it. I learnd something from your answer.

-Joann