Why there are 2 data tree version?

when i use datatree in sdk,it should use GH_Structure to input a datatree,such as:

DA.GetDataTree("Curve", out GH_Structure<GH_Curve> cvT);

why @DavidRutten use 2 things (datatree&gh_structure) to represent datatree?
Thank you!

GH_Structure has an IGH_Goo constraint, which I thought would be too complicated for scripting, so I added DataTree instead which has no such constraints.

1 Like

Thank you David.