Geometry Name node in geometry nodes
Currently, there is a Set Geometry Name node in geometry nodes, but there is no way of reading that information inside a node tree.
So I suggest the addition of Geometry Name node as a way of letting node trees know what the name of a given geometry is.
4 Comments
There is PR for this: projects.blender.org/blender/blender/pulls/151384
what purpose would that provide ? Set Geometry Name node already works fine; saying "there is no way of reading that information" is a false statement since it is perfectly readable in the spreadsheet for debugging, and allows for setting the names of individual instances, especially useful when combined with the "Apply Visual Geometry to Objects" functions.
Maybe are you mentionning the possibility to set "string" attributes on geometry ? For geometry selection through string inputs ? If this is your goal, this is indeed a great idea and I believe string attributes are planned to be added at some point. Meanwhile, you can use the Hash Value node set to string, to generate a random integer based on text, and store this integer attribute onto the geometry. This technically allows for geometry selection based on String inputs. Here's how I do it : imgur.com/a/NY0rqk9
If this is not what you meant, then I'm intringued to know what you have in mind for the feature you're asking for. Cheers
Sorry I accidentally shared the wrong screenshot, here's the real one : imgur.com/a/5rV8Bhn
Thank you for the tip. I think my wording has lead to a misunderstanding. This information is indeed readable through the spreadsheet. What I meant was more or less, just like you mentioned, a specific kind of string attribute. I've edited my proposal. Hopefully it's clearer now.