Output difference (normale nodes and custom node)

Hi everyone,

I’ve started learning more advanced Dynamo scripts and have decided to rewrite Neighborhoods scripts and experiment with custom nodes.

Now, I’m facing a problem where the nodes I initially wrote out and later copied into a custom node do not produce the same output. Does anyone know why this might be happening?

See the attached script 1.
00_oefenen 1.dyn (59.6 KB)

Thanks in advance for your help, and I hope to learn something new from this as well :slight_smile:

You’d have to show us what you’re dealing with - both the original node and the custom one, and how you have them setup in an example graph.

Wrapping nodal functions into a custom node changes how lists get handled, since the node counts as a singular function with a singular input instead of multiple functions that handle list structures individually. This is usually used to its advantage when dealing with new list structures, but can cause issues if you handle those list structures first and then wrap them into a custom node.