Adds a point object to the document.
rhinoscriptsyntax.AddPoint (point, y=None, z=None)
rhinoscript.geometry.AddPoint (point, y=None, z=None)
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) |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
rs.AddPoint( (1,2,3) )