Returns the point count of a point cloud object.
rhinoscriptsyntax.PointCloudCount (object_id)
rhinoscript.geometry.PointCloudCount (object_id)
object_id |
Required. String or Guid. The identifier of a point cloud object. |
Number |
The number of points if successful |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select point cloud", rs.filter.pointcloud)
print "Point count:", rs.PointCloudCount(id)