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.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Grasshopper Component Input list | 2 | 553 | October 18, 2020 | |
Retrieving data list from variable parameters | 3 | 914 | February 27, 2020 | |
Custom Components: Differences between GetData and GetData<T> | 2 | 459 | January 27, 2021 | |
getData is changing the identity of the item referenced | 4 | 314 | February 5, 2021 | |
Datatype error | 2 | 320 | October 16, 2020 |