From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
This plugin allows to insert node into existing wire or wires. Works similarly to one of the quick drop shortcuts, but it has some more features.
Some key functionalities:
The plugin is little buggy (e.g. in some cases it brakes undo sequence) and does not behave always perfectly (e.g. on branched wires), but with a bit of experience and knowledge where not to use it, I find if very useful. Hopefully someone will take this idea and create something more robust.
Looks interesting.
'Inline' doesn't work for me though. That has other meanings already.
Something like "insert into wire" or "wire though" or something maybe?
I did not pay much attention to the naming actually. I am not a native and not event with skilled English so it is very likely that inline is not the best choice.
I added it to List of Community Shortcut Menu Plug-ins (Part 2)
Very cool plugin, thanks for sharing.
I'm finding that I'd like the created wires to be cleaned up after the insert. I modified my copy of the plugin to do that:
P.S. - None of the Close Reference functions in your code are needed. You never need to close references that inherit from GObject.
Another area for improvement (sorry I don't have time to do it myself right now) would be to always do the insert if the node only has a single input and a single output, regardless of whether the types match. That would support situations like this, where my node has a void terminal, but the insert would still be fine (since the insert would define the type of the void terminal):