Datatype error

Hello everyone,

I’m trying to define an output parameter in GH extension for the visual studio as a list of lines. When I build the solution and execute the component I get the error which says Parameter Type: GH_Line and supplied Type: List’1. I don’t exactly know what List’1 type means. I’m sure that the data I’m trying to extract from my code is List of lines. Any hint would be appreciated.

Best,
Mahan



2020-10-16 10_45_57-PersianVAULT_2 (Running) - Microsoft Visual Studio

I guess you’re using DA.SetData(); instead of DA.SetDataList();

1 Like

You were right. Thanks.

Best,

Mahan