import Rhino
import scriptcontext as sc
point = Rhino.Geometry.Point3d.Origin
sc.doc.Objects.AddPoint(point)
for i in range(0, 99):
point.X += 1.0
sc.doc.Objects.AddPoint(point)
sc.doc.Views.Redraw()
Thanks Dale for the reply, this script does the end goal but do it differently from how I need it to be. Iām looking to make it into a definition, that can be looped, which then be put into a conditional statement.
Your script gave me an idea on how to tackle this differently, thanks!