Private Sub RunScript(ByVal pts As List(Of On3dPoint), ByVal no As Integer, ByRef A As Object)
Dim i As Integer
For i = 0 To no
Dim pt As On3dPoint
pt = pts(i)
Dim new_line As New Online
Dim end_pt As New On3dPoint
Dim sta_pt As New On3dPoint
Dim alllines As New List
end_pt = pt(i - (i - 1))
sta_pt = pt(i)
new_line(sta_pt, end_pt)
alllines.add(new_line)
Next
a = alllines
End Sub