Trying to add a point to a pointcloud but gets error, why?

Hi guys,
I am trying to do a bit more RhinoCommon stuff and keep on hitting the wall…

According to the help https://developer.rhino3d.com/api/RhinoCommon/html/Methods_T_Rhino_Geometry_PointCloud.htm
I can add a point to the pointcloud with the .Add function, but Rhino tells me it wants a pointcloud and not a point…What am I doing wrong?

image

Oh… brackets…
Now it works!

image

2 Likes