I am trying to create a dynamo script that can update information (primarily cost) in furniture families. While I sort of have a working concept for how to get the existing furniture data and how to write revised data back to the families I am stumped at how to match the data between lists using the furniture id number. The lists won't be the same length, even if they are sorted by the furniture id number, and I don't know how to pair up the data dynamically because of that.
What I think I need is some way to communicate an if condition of "if a value from 'list import id' is equal to a value from 'list existing id' use the the cost data corresponding to the import id from 'list import' and replace the cost data in 'list existing' that corresponds to the existing id"
A visual draft of what I'm thinking. So far I can only figure out how to get it to work if the id's match directly.
![]()