generative modeling for Rhino
Permalink Reply by Danny Boyes on February 7, 2012 at 5:16am How big are they? Could you not just read in all the files and then appended them together into a long list of data?
Permalink Reply by Vernon Vaden on February 7, 2012 at 7:41am 
Hi Vern,
definitely a VB/C#/Python job. How are the text files defined? Is it a folder and should all the files be loaded in alphabetical order, or in order of date, or do you already have a list of file paths?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Vernon Vaden on February 7, 2012 at 10:38am Hi David,
Okay. Yeah, they're just normal text files that are in a folder. They should be loaded in alphabetical order, one at a time. It would be ideal if I could just pick a folder, and then the files would be loaded into Grasshopper one at a time.
Thanks,
Vern

Exactly what do you mean by "one at a time"? I just want to be sure I understand what you're trying to accomplish.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Vernon Vaden on February 7, 2012 at 2:34pm 
But what does "one after another" mean? Do you want to read one file, then solve the network, then read the next file, solve again? Or do you just want a list of all the files in a specific directory so that [Read File] can handle them all?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Vernon Vaden on February 9, 2012 at 9:17am The last suggestion that you made is correct. I just want the [Read File] component to be able to get multiple files from a directory like say in a normal folder somewhere, and read each one individually in alphabetical order.
I guess there also should be a variable parameter to adjust the time interval between reading one file and the next file.
Thanks
Vern
Permalink Reply by Vernon Vaden on February 9, 2012 at 9:19am Will this be a component that could be added in an upcoming version update?
Vern

I wrote a small VB component that finds all the files in a specific folder. Does this do what you need?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Andrew Kudless on February 7, 2012 at 9:54am
Permalink Reply by Vernon Vaden on February 7, 2012 at 10:49am
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
© 2013 Created by Scott Davidson.
Powered by