#Ue 2

import rhinoscriptsyntax as rs
import random

###################################

#allObjects = rs.AllObjects()
#print len (allObjects)
#print allObjects[0]

rs.DeleteObjects(rs.AllObjects())

p0 = (0,0,0) #x,y,z
rs.AddPoint( p0)

coords = []
for i in range (10):
    #print [i,0,0]
    pt = [i,0,random.randint(-2,10)] 
    coords.append (pt)
    #rs.AddPoint(pt)
print coords
rs.AddPoints(coords)
rs.AddCurve(coords,1)
