PointCloudHasPointColors

Verifies that a point cloud object has point colors.

Syntax

rhinoscriptsyntax.PointCloudHasPointColors(object_id)

rhinoscript.geometry.PointCloudHasPointColors(object_id)

Parameters

object_id

Required.  String or Guid.  The object's identifier.

Returns

Boolean

True if successful, otherwise False.

None

On error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a point cloud", rs.filter.pointcloud)

if rs.PointCloudHasPointColors(obj):

    print "The point cloud has point colors."

else:

    print "The point cloud has no point colors."

Also See

PointCloudHasPointColors

PointCloudHidePoints

PointCloudPointColors