Extract items as single values from list

I’d like to use each item in a list as a single value to input into ‘Element.SetParameterByName’.

I’m having trouble selecting from the list. As it is now, only ‘0, Project W’ comes out of the list. I was attempting to use a code block to choose another item, but whenever I switch the code block value to anything other than 0, my list becomes null.

How can I extract just the ‘2, Architecture’ item, for example?

Hi @williamB7Y7D welcome to the Dynamo forum!

You could use a code block with data[0][2]; to access the value or a second List.GetItemAtIndex node set to index 2

thank you for the quick reply @Mike.Buttery ! using another List.GetItemAtIndex worked perfectly

List.GetItemAtIndex set to @L2 for the list input and @L2 for the index input with Shortest lacing might also work. :slight_smile: