Returns the points of a point cloud object.
rhinoscriptsyntax.PointCloudPoints (object_id)
rhinoscript.geometry.PointCloudPoints (object_id)
object_id |
Required. string or Guid. The identifier of a point cloud object. |
List |
A list of 3-D points if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select point cloud", rs.filter.pointcloud)
points = rs.PointCloudPoints(id)
if points: for point in points: print point