Grasshopper

algorithmic modeling for Rhino

Is there any way to read multiple text files into Grasshopper automatically one at a time in succession?

Vern

Views: 3040

Replies to This Discussion

    

    I would probably need a custom component for it to work exactly how I would want it. Where is that 'LocalCode Export component located? Thanks a lot for your help.

Vern

Mh..i don't know what you are going to do. But reading the contents of a folder is pretty easy. In C# you would type something like this:

private void RunScript(string folder, ref object A)
{

  A = System.IO.Directory.GetFiles(folder);

}

The output can then be processed by the readfile-component in the special tab.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service