Returns the point count of a point cloud object.
Rhino.PointCloudCount (strObject)
strObject |
Required. String. The identifier of a point cloud object. |
Number |
The number of points if successful |
Null |
If not successful, or on error. |
Const rhObjectPointCloud = 2
Dim strObject
strObject = Rhino.GetObject("Select point cloud", rhObjectPointCloud)
Rhino.Print "Point count: " & CStr(Rhino.PointCloudCount(strObject))