Hi Christian,
this is how you should set-up this type of exchange through custom classes:
passing_types.gh (24.4 KB)
You should just check the right type hint. This is not a Python requirement, this is so that your script works correctly with the rest of Grasshopper.
Thanks,
Giulio
–
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com