Hi Luming,

yeah, that's the help file topic I mentioned. The notes at the bottom
of the topic briefly discuss Print(), Reflect() and other useful
functions available inside the Script Components.

--
David Rutten
[email protected]
Robert McNeel & Associates


On Feb 3, 5:27 am, lulu <[email protected]> wrote:
> thanks a lot Damien alomar, and David.
>
> "by double clicking the icon" the help file i got is like this :
> VB.NET Scripting
> This component attempts to compile and run user specified VB.NET code.
> By default, the component contains no code. You can supply code by
> double-clicking the component or by picking the "Edit…" menu item.
> ............................
> I just wanna make sure is this what you mean? cuz i couldn't get the
> List you mentioned. Or maybe i got the wrong place.
>
> looking forward to script in grasshopper.
>
> Best,
>
> Luming
>
> On Feb 2, 7:26 am, David Rutten <[email protected]> wrote:
>
> > Hi Lulu,
>
> > VB and C# in Grasshopper use the Rhino DotNET SDK. We have a helpfile
> > for that on our Wiki and also numerous examples. But the 'scripts'
> > that run inside Grasshopper are a bit odd (for technical reasons) and
> > they differ from the usage of the SDK inside commands.
>
> > The helpfile of the VB script component (help is available through the
> > menu of a Script component or by double clicking the icon on the
> > toolbar) lists a number of useful functions you can use inside the
> > script. There is one that works similarly to Print() in Rhino.
>
> > --
> > David Rutten
> > [email protected]
> > Robert McNeel & Associates
>
> > On Feb 1, 12:20 pm, lulu <[email protected]> wrote:
>
> > > hi,
>
> > > I am wondering is there any VB.net reference for GH like what we can
> > > use in Monkey rhight now?
>
> > > something like this will be really helpful.
>
> > > Print
> > > Prints a string to Rhino's command window.  Note, this method cannot
> > > be called from Visual Basic.  If you are using Visual Basic, use the
> > > PrintEx method.
>
> > > Syntax
> > > Rhino.Print ([strMessage])
>
> > > Parameters
> > > strMessage
> > >  Optional.  String.  A prompt, message, or value.
>
> > > Returns
> > > Null.
>
> > > just cannot find it. ;-(
>
> > > thanks in advance
>
> > > lulu

Reply via email to