Flattens an array of 3-D points into a one-dimensional array of real number. For example, if you had an array containing three 3-D points, this method would return a one-dimensional array containing nine real numbers.
Rhino.SimplifyArray (arrPoints)
arrPoints |
Required. Array. An array of 3-D points. |
Array |
A one-dimensional array containing real numbers, if successful. |
Null |
If not successful or on error. |
Dim arrPoints, arrNumbers, n
arrPoints = Rhino.GetPoints
If IsArray(arrPoints) Then
arrNumbers = Rhino.SimplifyArray(arrPoints)
For Each n In arrNumbers
Rhino.Print n
Next
End If