hi,
wouldn´t it be nice to know at which line of code my brain got out of order ?
panels in grasshopper like to tell me a lot about my incapability by don´t want to tell me
where this is exactly shown. i am new to vb.net and grasshopper, so that´s not really helpfull to get in.
Do yourself a favor and download the Express edition of Visual Studio. Its free and its much more of a proper IDE (integrated development environment) than Grasshopper (which really isn't one at all). You don't need to completely code in Visual Studio, but you can bring code in when you're having trouble debugging. Sometimes I do this just by exporting the VB file (this can be done by right clicking on the VB component) or I just copy and paste the main sub in (usually requires fixing some variable references though).
but i don´t understand it really. visual studio express doesn´t know anything about openNurbs, rhino and grasshopper. so it automatically gives me error messages.
Hi ,max
I think Damien'solution is a good approach.
you need to add Rhino.dll referance into your project.
right click on project ---property ----referance----in your rhino install directory add rhino.dll
check on the namespace
thank you for helping me. i added rhino_DOTNET.dll and everything i found in the grasshopper folder. now there is no problem with openNurbs and rhino anymore, but grasshopper, grasshopper.kernel, system.drawing and system.windows.forms imports doesn´t work. is there a dll to import that i didn´t notice?
FWIW I have the Rhino DotNet Wizards installed with VSX 2008. If I start a dummy project, then copy and paste the sub over, there are really no issues. Also, the exported code should have all of the references needed to run, so I don't believe you should have to add any references.