Code Block Function Help

I’m trying to figure out how to or if it’s possible to use design script node calls in functions. I have here a relatively small example of trying to flatten a list of lists and I am not able to get it to work in the function. Any ideas on how I can get this to work, or is this not how functions are intended to be used?

Cheers,

It does work, it’s just that auto-lacing is taking over since you haven’t defined an input structure.

6 Likes

too fast M. Nick

cordially
christian.stan

4 Likes

I see! That’s cool! I’ll have to play with this one. Now, where can I go to read up on the different input structures for code blocks?

The design script guide lists them out, along with most of the finer points. It’s a complex topic though, so if you have questions start up a new topic for each.

3 Likes