Dynamo: ImportFromCSV nodes don't work

Created on 27 Oct 2016  路  8Comments  路  Source: DynamoDS/Dynamo

Dynamo version

1.2.0

Operating system

Windows 7

What did you do?

Read a CSV File

What did you expect to see?

Data form the CSV file

What did you see instead?

null items in the expected structure. Note that the CSV.ReadFromFile node works correctly. the two flavors of ImportFromCSV seem to be both redundant and not working.

csvexample

Most helpful comment

damn @gregmarr beat me!

All 8 comments

@mccrone Its working on Win 10 Dynamo v1.2

image

@mccrone needs File.FromPath to convert to a file.

@ke-yu I don't think that's the problem:

  • The inputs for the two nodes that don't work call for a file path not a file.
  • The example from @ThomasMahon does not use a File.FromPath node.

@mccrone Is it because the output of ImportFromCSV is a 2D array of doubles, and you're trying to read a CSV containing strings, which can't be converted to doubles?

@mccrone @ke-yu those nodes have double arrays as their outputs... your excel file is full of strings... I think the error is clear right?

damn @gregmarr beat me!

Wow. Nice Job. The error isn't as clear as you'd think though. Given that these nodes are less functional than CSV.ReadFromFile, the larger question remains: why are they even there?

@mccrone these are legacy builtin functions from DesignScript. We'll remove them soon. FYI @kronz @Racel

Was this page helpful?
0 / 5 - 0 ratings