DA.GetDataList

When you get an error using this after switching from DA.GetData, you probably need to delete the keyword ‘ref’ before the variable name of the List with which you replaced your variable of type T. This will allow you to use the string identifier of the input/output you want to use. You don’t have to try to use the index of the input/output.