PointCloudPoints

Returns the points of a point cloud object.

Syntax

Rhino.PointCloudPoints (strObject)

Parameters

strObject

Required.  String.  The identifier of a point cloud object.

Returns

Array

An array of 3-D points if successful.

Null

If not successful, or on error.

Example

Const rhObjectPointCloud = 2

Dim strObject, arrPoints, arrPoint

strObject = Rhino.GetObject("Select point cloud", rhObjectPointCloud)

arrPoints = Rhino.PointCloudPoints(strObject)

If IsArray(arrPoints) Then

For Each arrPoint in arrPoints

Rhino.Print Rhino.Pt2Str(arrPoint, 3)

Next

End If

Also See

AddPointCloud

IsPointCloud

PointCloudCount