Setting Element type from Excel Sheet

I am trying to build a script that will number our welds from an excel sheet once they come back from the detail department. We can have up to 200 welds that we have to go in and modify. I have made it to the point in the script that I get my welds, weld order, excel data, and my elements in their own row. Where I am getting stuck is matching the excel data with the element data, in order, and getting it to set that parameter in revit. I have read and attempted several different ways using multiple forums and none have seem to have worked at the moment. Any suggestions on the next step. I am using Data-Shapes and bumblebee.





Weld Excel Import.dyn (77.0 KB)

After a little more experimenting I almost found a solution. I found a simple script and using it I can change one family type at a time. When trying to do a list I get an error. I tried to filter the data a little more and it still isn’t working. Any ideas?