Verifies an object is a point cloud object.
rhinoscriptsyntax.IsPointCloud (object_id)
rhinoscript.geometry.IsPointCloud (object_id)
object_id |
Required. Guid. The object's identifier. |
Boolean |
True if successful, otherwise False. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select a point cloud")
if rs.IsPointCloud(id):
print "The object is a point cloud."
else:
print "The object is not a point cloud."