Keys and Value Replacement

Edit: I just discovered Replace function…:sweat_smile: Things below are irrelevant but I’m leaving it for educational purpose for those who hasn’t discovered it yet

________________________________________________________________

I’m not sure whether it is a bug or expected behaviour.

Simple object with 4 attributes:

I want to replace the description of one of the Keys.

I expected PUSH to wipe out everything and replace it with the new content, but I got this instead:

Is this correct?

Without knowing much about the Rhino Tab components, this seems to make sense to me.

You are reading the keys and creating new text based on the strings read. Then assigning the content new keys, which will overwrite existing ones of the same name, and append new ones that do not yet exist. In short, Replace Text isn’t working on the keys themselves, but the strings of the keys.

Have you tried changing the mode of User Text to “Replace”?

On top of my message… but thanks.

Apologies. I thought you meant you had just discovered the Replace Text component. That wasn’t so clear to me.