Create connections

Hi everybody, I’m building my own GUI, so I need to call a patch (that’s done with CreateNode) and have access to its parameters from the DX9 renderer without having to make connections and tweak inputs in the patch window.

I had a glimpse to different nodes like GetPatch, SetPatch or PatchAlias, but don’t have a clue of what to use and what to do (since I know nothing about XML).

Can anyone give me a hint or two to start from?

Thanx a lot,
aR

wait a few hours, please…
i’m going to post some useful modules around this anyway.


in meantime open any .v4p-file with a texteditor or better with the free XML Marker.
get familiar with all expressions there.

basically GetPatch (VVVV) gives you ReadAccess to any loaded patch depending on which type of PatchAlias (VVVV) you use.

and SetPatch (VVVV) gives you write access.
so you can write data into the script of a running patch.

Oh really? Thanx man!

ok
here a fast start:

start xml help.v4p

xml.zip (6.1 kB)

Hi

You can check on my user page the Connect and List select module

http://vvvv.org/tiki-index.php?page=UserPageDigitalSlaves

Waouh! DigitalSlaves that’s exactly what I’m looking for, merci mec!
Thanx a lot Kalle, I’m going to study your nodes anyway (just to get the thing’s basis).

Thanx guys!
Take care

Hi DigitalSlaves, I’m trying to adapt your Connect (XML) module in order to autoconnect different kind of nodes. I changed some strings in the + node that gathers parts of the code but the connection doesn’t work, nor on manual mode or auto mode. Did I forget something?

Big up to the Nantais,
Alecz

Sorry, forget about the last post: I forgot the code was case sensitive… oups hehehe!

Cheers