Hi,
Is it possible to get smth like node ID? I'd like to call a script method by several nodes and I want to know, which node is calling.
Sorry for my English, it's not native for me.
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Node ID
Moderator: Support
-
- Posts: 93
- Joined: 18 Jan 2012, 20:02
Re: Node ID
Hi,
a good working flow would be to use a hierarchy container, make it an interface and put a container info node in your hierarchy container.
I think if you search the help for the container info node, you should be able to figure out how it works...
Good luck!
Cheers,
Tobi
a good working flow would be to use a hierarchy container, make it an interface and put a container info node in your hierarchy container.
I think if you search the help for the container info node, you should be able to figure out how it works...
Good luck!
Cheers,
Tobi
http://www.radar-touch.com
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
-
- Posts: 290
- Joined: 18 Jan 2012, 11:36
- Location: Dubai, United Arab Emirates
- Contact:
Re: Node ID
You can also use an event node between each of your nodes and the script. Use a different argument (the ID) for each event node. The argument gets passed to your custom C# function. You can access it with the arg variable inside the script. Combine that with Container system Tobi described by connecting the event node argument to the Container Info node and you can quickly duplicate and use any number of elements to trigger a method with your script and know which one it was.