woei
21
jo, maybe it’s not right, you’re right.
i didn’t care about the wiki assuming the square brakets to be a url…
so it goes like this:
{CODE(ln=>1)}/PATCH/NODE/@nodename=“callmenames.v4p”/@id^
this snippet, however, returns all ids, if there are more instances of the node in the patch.
make sure to enable the pin - resolve externals. it validates vvvv’s .dtd file in the bin folder (i think)
hrovac
22
here is a patch for having always the right id of the subpatch you want to replace (witch createnode)
now its working but im sure there are smarter solutions…?
i used the switchnode from elektromeier
id dynamik.zip (8.1 kB)
woei
23
easier, jes.
not that the id does not change during runtime. ids are “renewed” everytime the patch is opened.
id_dynamik_simple.zip (4.2 kB)