Str2Pt

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

Syntax

rhinoscriptsyntax.Str2Pt (point)

rhinoscript.utility.Str2Pt (point)

Parameters

point

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

Returns

Point3d

A 3-D point if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

point = rs.Str2Pt("1,2,3")

if point: rs.AddPoint( point )

Also See

Pt2Str

Str2PtArray