Dereferencing a non-pointer error from SetParameterByName node

Hello! I’m working on a dynamo script which will replace parameter values from a Revit family, with values from an excel file. Here is a screenshot of my code along with the excel file. I’m receiving an error saying ‘dereferencing a non-pointer error’ I’m guessing this has something to do with my lists based on what I’m seeing on dynamo forums, but I can’t figure out what specifically is going wrong. Any help would be greatly appreciated. thank you!!!


You need to connect elements and not values in SetParameterByName node.
Connect directly All elements or FamilyType node into SetParameterByName node.

1 Like


this is what @Alban_de_Chasteigner means

the node asked for elements right?

1 Like

Thank you!! Fixed!!

thank you!!!