import Rhino
import rhinoscriptsyntax as rs
mport scriptcontext as sc
sc.doc = Rhino.RhinoDoc.ActiveDoc
cloud = sc.doc.Objects.Find(PtCloud)
rs.EnableRedraw(False)
cloud_points = rs.PointCloudPoints(cloud)
cloud_colors = rs.PointCloudPointColors(cloud)
print len(cloud_points)
pts = cloud_points
colors = cloud_colors