Given something like this:
... nb = hou.item('/obj/geo1/__netbox1') root = hou.node('/obj/geo1') copy = root.copyNetworkBox(nb) stickynote = hou.Node.createStickyNote(root, 'sn_test') copy.addItem(stickynote)
If the network box is inside a Dopnet it will fail giving this error:
line 13382, in addItem return _hou.NetworkBox_addItem(self, item) OperationFailed: The attempted operation failed.
If the network box is within the same context as the original it will just malfunction or not perform the function.
I am guessing it might be related with the default name of the copy being in conflict with the already existing ones, but according to the documentation the name should be properly renamed. https://www.sidefx.com/docs/houdini/hom/hou/Node.html#network-boxes [www.sidefx.com]
Am I missing something or is this RFE worthy?
Thanks all!