I need to apply a value to a wire based on the panel that it is circuited to. The value is based off a schedule. How to search from one list to another and return the associated value?
I know that I am missing one or two blocks of code. I am trying not to resort to python. I am sure there is an OOTB solution here.
With the way you have your data already structured, the easiest solution would be a dictionary. The panels and associated values are the key-value pair that you can then lookup based on the wire value.
You could use List.Contains to filter and then index match to look up parameter value. Note lacing and list level on the List.Contains node