First post over here.
I’m doing some testing about create ‘custom nodes’.
In my daily work I often need to filter Revit model elements from a parameter value. I know it’s a very simple task that only requires the use of
But, for learning reasons, I’ve created a custom node with the following structure:
When I perform tests with the custom node in a script, I find that the output are lists than contain empty lists.
If I place a
List.Flatten after the output ports I get a cleaner list:
But, if I add
List.Flatten inside the custom node it doesn’t work: I get empty list structure again.