Grasshopper

algorithmic modeling for Rhino

Hi,

I need to export multiple .csv files from my GH definition.

The streaming from a panel does not work for me because I want to create multiple files dynamically, and not modify the content of a single file dynamically.

Today, I use the gHowl Excel export component which does (almost) exactly what I want, but then I need to convert my Excel files to .csv

Cheers,

Views: 4220

Attachments:

Replies to This Discussion

Hi Olivier,

you may try the attached C# component.

Best,

Raul

Attachments:

Hi Raul,

Thanks for your help.
The data formatting of the input doesn't seem to be the same as the gHowl XLS export component.
If I try to flip the marix, it doesn't work either. Arrgh, pesky arrays...

Also :

-In France, the separator for CSV is ";" , and not ",". I couldn't figure out where in the C++ code I could change this.

-Last but not least, the gHowl tool can be triggered by a button, which is nice because you know when the component is working and when it is not.
Your component seems to require a toggle.

Cheers,

Attachments:

The "Button" outputs also  a bool true/false. I think its almost the same...

Thanks Raul,

it works !

Cheers,

@Raul, that s very useful thank you.
However, when plugging a multi-line data panel into it, I get all values in a line.
Is there a way to respect the multi-line data format?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service