Python_How to solve this problem? expected Point3d, got list

Hello

I’m trying to make a triangle pattern from points grid. But i have a problem like the picture.

i need your help~ Please let me know what is the problem and how to solve this problem?

python test.gh (3.6 KB)

You are passing lists (pt0, pt1 and/or cpt) to a function that is expecting point3D input.

A possible solution is…

surf=rg.NurbsSurface.CreateFromCorners(pt[0], pt1[0], cpt[0])     'pick the first item from the lists

…or something similar, I’m not familiar with CreateFromCorners.

Thanks Ncik

your advise is very good. so i solved this problem easily.~

thank you~