Str2PtArray - PYTHON 不支持

Converts a formatted string value into an array of 3-D point value.

语法

Rhino.Str2PtArray (strPoints)

参数

strPoints

Required.字符串。A string that contains an unknown number of space delimited points like "1,2,3 4,5,6 7,8,9".

返回值

Array

An array of 3-D points if successful.

Null

如果执行不成功或出错,返回空值。

示例

Dim arrPoints

arrPoints = Rhino.Str2PtArray("1,2,3 4,5,6 7,8,9")

If IsArray(arrPoints) Then

Rhino.AddPointCloud arrPoints

End If

同见

Pt2Str

Str2Pt