Hi Damien, Can you post the code for reading excel files? My programming knowledge is pretty basic, but i google searched for examples of vb.net reading excel files, and all of them required 'imports' that don't appear in the scripting component. About the triggering event, I'm guessing that pressing the 'play' button of the canvas toolbar would do the trick? That would be enough for me... for now.
On Dec 21, 10:43 pm, damien_alomar <[email protected]> wrote: > You can read from Excel...the big hurdle (as I said in my post on the > newsgroup) is how you actually grab excel. The way the scripting > components work that's really the biggest hurdle. The only thing > about reading from excel is that the only way it would read the file > was if either something in Rhino or GH changed, so if you change the > excel file nothing would change within the GH environment. I was > working on trying to get excel events to fire off a change and got a > sub in excel fired off for a change, but I was unable to successfully > get the rhino instance to fire of a change that would be registered by > GH. I haven't taken to close of a look at it in a while, but I might > sit down with this again. > > -Damien > > On Dec 20, 2:18 pm, visose <[email protected]> wrote: > > > I don't think you can read excel yet, but I'm not sure. About bringing > > numeric data from an outside source, i did it using a text file in > > this example:http://www.youtube.com/watch?v=wK7xFA-5YZc > > Here's the definition:http://grasshopper3d.googlegroups.com/web/gh_audio.rar > > It reads a text file that contains a list of numbers representing the > > values of a sound wave and generates geometry with them. > > > On Dec 20, 7:12 pm, Dave <[email protected]> wrote: > > > > This is great...I have a question on this...is there any way to bring > > > data in from Excel in a similar fashion? I have tried bringing > > > numeric data from the outside using the text component, but have > > > trouble converting it such that GH recognizes it as a number. Any > > > help? > >
