I have had no luck with friends from the office to find any literature
on VB. I have the Rhino Script pdf, but can't seem to find anything
for VB. How hard would it be to make a RhinoScript component for
Grasshopper, so I wouldn't have to figure out how to translate
RhinoScripts into VB? Any help with this is greatly appreciated for
those of us 'in training' !!!

On Feb 11, 12:55 pm, David Rutten <[email protected]> wrote:
> Hi Matthew,
>
> Yes, very much so. VB and C# are strongly typed languages, meaning all
> variables are of a specific type (integer, String, circle etc.) and
> they cannot be mixed up. The script that you paste into the VB
> Component only works for a specific collection of input and output
> parameters. By default, you get 2 inputs (both of type Object) and 1
> output. However, people often need more inputs, or they need the input
> to be of a specific type. So, when you copy-paste a bit of code, you
> have to make sure that the parameters of the new components have the
> same name and type as the original one.
>
> --
> David Rutten
> [email protected]
> Robert McNeel & Associates
>
> On Feb 11, 1:05 am, matthew <[email protected]> wrote:
>
> > Okay,
> > I am far newer to this than many of you...in fact I am quite green. I
> > do not know how to write code, I only know how to load prewritten
> > scripts and run them. So my question is about copying and pasting code
> > that I know works when I load it in the Rhino field. When I copy and
> > paste this same code into the source (middle area) of the VB.net
> > scriptable component, I am getting syntax errors. As a consequence, I
> > am getting no output data. Is the VB.net scriptable component of
> > Grasshopper less forgiving about syntax than Rhino Script?

Reply via email to