AddPoint

Adds a point object to the document.

Syntax

rhinoscriptsyntax.AddPoint (point, y=None, z=None)

rhinoscript.geometry.AddPoint (point, y=None, z=None)

Parameters

point

Required.  Point3d or list of 3 values.  A 3-D point.

x, z

Optional. If you type a single number in for point; specify y and z to define the "x,y,z" values.  This is done so you can be lazy and just call AddPoint with syntax like AddPoint(1,2,3)

Returns

Guid

The identifier of the new object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

rs.AddPoint( (1,2,3) )

Also See

IsPoint

PointCoordinates