is there a way to achieve the follow using just the code block?
The correct syntax for levels is
<n> for the nth level list. I don’t think it works with the “shorthand” version of
list[n] but you can use GetItemAtIndex to do the same thing:
Select the nodes you want to make a code block, right click the background, and select “node to code”.
I was after a shorthand for this, but apparently there is no way to avoid the use of List.GetItemAtIndex.
Hey guys, quick taught on this : If I am right you want to get all the items at index zero for each list. A short hand for each one of them is Lst[listindex][objectindex] so :
The 0, 1, 2… are basicly the list length right?
You could probably shorthand this with something like
YourItems = Lst[L]
I on my phone can’t check if this works but design script usually accepts list of integer replacing integer value and just repeats the process.
If it does not work go in imperative mode with [imperative] in the code block and try a python–like script with a “for” loop based on a list of index.
All the best