Is there a way of resolving a unique path for a node in the graph of v4?
In the patch window the path of the nodein the filesystem is stated.
But for dynamic patch changing and dynamically generating osc addresses I need the unique position of a node in the patch-graph.
ideally that would look like root/patch_xyID1/subpatch_aNodeID32/nodeNodeID12 for example.
Now I construct this address with getPatch of parent patches and filter the nodename of the parent patches with an xml query. That is quite expensive.
Is there a function like that? Can that be called from a plugin?
actually I need this information inside a patch (node), not outside. and I need a unique address in the graph, not only the id in the parent patch. if I use the same patch twice the node will have the same id again. thus I need the comple path.
nope, that is not enough. If I use the parent patch twice (which I actually do), the ID for the node is the same. I could use it if I forwarded the information into the patch where I need it with links, but that is very inconvenien, since I have to use this function a lot.