IsPointCloud

Verifies an object is a point cloud object.

Syntax

rhinoscriptsyntax.IsPointCloud (object_id)

rhinoscript.geometry.IsPointCloud (object_id)

Parameters

object_id

Required. Guid. The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Example

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."

Also See

AddPointCloud

PointCloudCount

PointCloudPoints