im tired of creating ioboxes, give them standart names and adapt their look in inspektor each time i patch around.i want to create a patch that can create predefined ioboxes (and maybe even some connected structures which i need frequently) with a simple keyboard shortcut. is something like that possible with the setpatch node? createnode just can create modules and subpatches but no built in nodes am i right?
it would be also cool if that patch could be added in the args file so that its loaded when vvvv starts. but is it possible that this patch creates the new modes in just any active vvvv patchwindow?
mh when i feed setpatch with your xml code i see nothing. maybe theire placed somewhere outside the window… are these values pixels: left=“5805” top=“4110” width=“0” height=“0”> ?
and where ist the origin?
ahem yes, sorry, you have to surround the whole thing with the element <PATCH> and take a HIGH id. not the zero i’ve posted. For each diplaymode there is one BOUNDS element which places the node on the patch or screen. Don’t ask for units? I never understood them. joreg, gregsn?
Also, every Subpatch has a hidden pin called “Patch” use this pin if you want to set nodes within a subpatch from outside.
with setpatch you can do almost everything what you can do while patching. it uses the same internal messages… the only restriction: you can’t delete nodes. adding and changing nodes is possible though. if you want to learn more about the DocumentType. Try to figure out what getPatch delivers and check the DTD in the BIN Folder.
starting from the thesis that you don’t need that helppatch anymore after about two weeks patching…
meanwhile i have a module called Clipboard (VVVV).
where i copy/paste all those often used things like labelled and preconfigured IOboxes or often used “patchlets” like Renderer,camera,group,Axis and Grid.
having that as module makes it easier to migrate between different vvvversions.
creating an empty node and starting to type “cli” is almost as fast as hitting F1.
do you have other good ideas to be contained in that clipboard?
VVVVs xml file format uses a legacy unit called twips (twentieth of a point) for its pixel metrics. One twip is 1/1440 inch or 17.639 µm when derived from the PostScript point at 72 to the inch. The twip is some lovely ideosyncratic part of the windows API. As the native screen resolution on most windows machines is 96 dpi you will usually get 15 twips per pixel.
when trying to create a node with a negativ id using SetPatch the node will be created, but i can’t delete it afterwards… this is weird. trying to connect the node to other ones causes vvvv to crash. gregsn, what is that thing with negativ id’s?