Str2Pt

Converts a formatted string value into a 3-D point value.

Syntax

Rhino.Str2Pt (strPoint)

Parameters

arrPoint

Required.  String.  A string that contains a delimited point like "1,2,3".

Returns

Array

A 3-D point if successful.

Null

On error.

Example

Dim arrPoint

arrPoint = Rhino.Str2Pt("1,2,3")

If IsArray(arrPoint) Then

Rhino.AddPoint arrPoint

End If

Also See

Pt2Str

Str2PtArray