How to get only the first Item from each list of parameters

Hello,

I need get only the first value of a list inside a list.
Can someone help me? I’m a beginner in Dynamo.
I tryed to use List.getitematindex but it returns the first list, not the first value of each one.

Thank you!

@SdinizF ,

change listdeepth

or use node firstItem at listdeepth L2

2 Likes

hello

cordially
christian.stan

2 Likes

Use the out of the box node “List.Get Item at Index”
NOTE: Be aware that Dynamo starts at zero, not one for counting
Insert a Watch node so you can see the results in any of your scripts as well.

3 Likes

Thank you all, I didn’t know how to enable “Use levels” on list nodes.

1 Like

Here is a good read
Tutorials video

cordially
christian.stan