I am testing baking GH2 objects that have numeric meta data attributes assigned. When I attempt to Bake the objects with “Embed Meta Data”, the Meta data does not become baked as Rhino User data.
Is it right to expect that the meta data would become available as User text (User data) on the baked object?
Example attached with a set of points that have a Meta data attribute called “myAttribute”.
no, baking metadata will not bake that data as user text. I had to look this up myself (AI response, take with a grain of salt)
What the built-in bake can do:the bake settings have an Embedoption for meta data. With it on, every meta entry is written to the object’s attributes, but into a hidden user dictionary with keys like GH2:myAttribute. That isn’t user text, so it won’t appear in the Attribute User Text panel and GetUserText won’t find it. GH2 uses it to read the values back in later.
Edit: hmm, doesn’t seem straightforward, needs a deeper look
Ah, I see. I do think it would be immensely useful to have a way to utilize Meta data with User Text so that baked objects can have properties exposed and editable in Rhino. Maybe as an “Assign Rhino-UserText” component (similar to the other Metadata options like “Assign Rhino-Name”, etc).