For the life of me I have the hardest time working with lists in Dynamo. I cant shake the “If/Then” logic of standard programming.
I am stuck I have a spreadsheet with a bunch of old ID numbers and new ID numbers in column A and B respectively. This translates to a dynamo list with 2 levels. At the second level index 0 represents the old ID and index 1 represents to the new ID. I want to find the model element associated with the old ID number in my view and pass in the New ID number to that model element. I can index my model view and populate a list of element ID’s I just cant find a way to make the comparison and pass in the new ID to the correct model element.