Rhinopython report error

Hi @jujudebuguilu,

On line 21, you call rs.AddPoints(vertices[i]), which - if you take a look at the documentation -, expects a list of points, but you pass in a single GUID from your vertices list.
Instead of storing the vertices as GUIDs, you could store each one as simple list(x, y, z) or tuple(x, y, z). You should also call rs.AddPoint() instead, since you only pass in a single point.

If you want to read more about my opinion on GUIDs vs. geometry objects, check out this post of mine from a few hours ago:

:wink:

1 Like