algorithmic modeling for Rhino
I am loading several CSV files into a database within the grasshopper environment. I'd like to pull out the headers of the CSV file to automate the creation of tables in mysql.
Can this be done via the Parser?
I can of course load the entire file "Per Line" and then just index on the first line, but this ends up getting very heavy beyond just one or two files.
Cheers,
TS
Tags:
Answered my own question. For those interested...
Private Sub RunScript(ByVal path As String, ByRef A As Object)
Dim rs As New io.streamreader(path)
A = rs.readline()
rs.close
End Sub
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by