Import coordinates from an excel file

Your coordinates decimals should be defined as a period, not a comma. The Vector > Point > Construct Point component is getting confused.

The data in my csv is like this:

10,10,10
20.44,55.01,75
33,44,55
11,22,33
556,67,89
12,13,14
15,16,17
89,67,45
100,24,25
15,16,19

Coordinates are separated by commas , and numbers use a period . for decimals.

Attached is the definition and csv. You’ll need to re-reference the csv file.
pointsfromcsv.gh (7.4 KB)
points.csv.zip (233 Bytes) (sorry, had to zip it since the csv extension isn’t allowed for upload…unzip before using)

As @chanley points out (no pun intended), there is also the Params > Input > Import Points component available in R5 and R6 which does the same, but gives you a bit more flexibility in how you define the points file.

1 Like