Hi Tomohiro, this is not possible now and it will not be possible in the future. You can use all the Grasshopper methods you want, but components are mostly defined in separate class libraries (dll, except we call them gha <GrassHopperAssembly>) and they are not within reach.
At any rate, the components won't do you much good even if you could call their functions, because they depend on the Grasshopper data casting mechanisms which are incredibly complicated. These mechanisms make it easier to use if the front-end is visual, but if you're writing code in a strongly typed language (such as VB or C#) you're far better off with good old-fashioned DotNET function signatures. I can help you by adding utility functions to the Grasshopper SDK, but I think it makes more sense for us to add those utility functions directly to the Rhino SDK so it will benefit all plugin developers. If you have a specific question we can always immediately help you with that of course. -- David Rutten [email protected] Robert McNeel & Associates On Feb 2, 5:37 am, tactom <[email protected]> wrote: > Could anyone tell me if there is a general way to call existing > components from VB or C# script? > I would like to refactorize my grasshopper spaghetti into a small > number of C# components, hopefully without directly calling OpenNurbs > methods. > > If this is not possible, I would like it to be included into a Wish > List. > Thank you. > > Tomohiro Tachi
