I have tried everything up to my knowledge on how to store one value at some point of the node tree and reuse it on another part of the same node tree, but I have been failing hard (not sure if it is possible tho).
My logic says that I can store the value produced by this node (zooming in) in a Store Named Attirbute node and then use a Named Attribute node somewhere else to avoid having those noodles crossing the node tree.
Well, no .
I have a simplify version where I’m storing the Y value, but cannot be used on something else.
Note, I know that the Store Named Attribute output socket has to be connected but then the bounding box will be visible which I don’t want.
the attribute “my_value” does not exist on the cone geometry. If you wanted to transfer it, you’d have to use a sample index node (or some other way of transferring an attribute between two geometries)
On my original setup I have been using sample indexes and any other node. The only reason I’m asking is to avoid having to cross some noodles across the whole node tree to destination, so I was thinking on using the Store Named Attribute as a “portal” to use the value stored on that node somewhere else.
If both the source and the target are part of the same node tree, then no, there is no way to have a “cordless” link between them for transferring an attribute. Portal nodes have been proposed as a way to avoid clutter, but so far they were not implemented.
Just a suggestion… reorganize your node-tree into node-groups… Since you are producing a “single value” you can have multiple copies of the Group Input node…