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