I am trying to make proof of concept of General Enable/Disable node for
a patch/subpatch. The problem is that it does not give the same results as
if you click with the mouse on group node Enabled pin,
the renderer does not goes black. In the plugin I tried 3 different strategies
to disable nodes, but the most clean one with sendXMLSnippet gives me an error. Can some one check and give some idea why sendXMLSnippet does not work and why disabling a node from a plugin does not “update” the renderer properly? Thanks.
I do this small plugin to squeeze some little extra performance and easy to enable/diabsle subpatches, by just dropping one node: Enable.
P.S. Does anybody experienced FHDEHost.SendXMLSnippet returning:
PatchClass “id_of_my_patch” not found!
when the ID is obtained from node Self.ID in Parent Patch
<PATCH saveme="69"><NODE id="59"><PIN pinname="Enabled" values="0" /></NODE></PATCH>
Simple patch+plugin to show the probem (105.2 kB)