As you've noticed, It's a lot harder to find your way with C#, so the
more experience you have with Rhinoscript the better.
To be honest, the Rhinoscript function reference is probably going to
have 95% of any functions you need, and they should be available in
the dotNet SDK with all the others.  To find the dotNet equivalent,
takes a little work.

For what it's worth, here's my strategy for finding help when using c#
(I started with it about 6 months ago, and tend to do all my scripting
in it now).

1. Best help is from the examples on this page :
http://en.wiki.mcneel.com/default.aspx/McNeel/Rhino4DotNetPlugIns.html
2. Check if I can search from help on the dotNET sdk chm file
downloaded from here: 
http://en.wiki.mcneel.com/content/upload/files/RhinoDotNetSDK.zip
3. Check the rhino.plugins newsgroup, searching through all old
messages (I use Windows Live so that all the old post headers are
available to search, the web newsgroup searching doesn't usually work)
4. Check the Rhinoscript chm help file for the equivalent command name/
term to try and search for in the dotNet sdk.
5. Search for the same terms in the c++ sdk chm help file.
6. If I'm still struggling, look in the Rhino chm help file for the
Rhino command, and then the same old chm files.
7. If I still haven't found an answer, I post to the rhino.plugins
newsgroup.  Usually Dale or David has a quick response, and quite
often an example will be added to the wiki if it's a worthwhile
addition.

Hope this helps you a little and doesn't discourage you.  The extra
functionality of c# makes programming in it worth while, and whilst
it's a slow start following the above, you soon learn better how to
find help.

Cheers,

Jon



On Oct 21, 9:12 pm, topher <[EMAIL PROTECTED]> wrote:
> Is there a reference list somewhere for objects and functions specific
> to Rhino commands to use in the C# and VB scripted nodes? Particularly
> C# since there seem to be less examples available to search through.
>
> Thanks.
>
> On Oct 17, 6:37 am, David Rutten <[EMAIL PROTECTED]> wrote:
>
>
>
> > I beg to differ. Python is case sensitive and indentation sensitive.
> > Both of those can be extremely frustrating for beginners.
> > In addition, Python is running using the DLR, which means you're more
> > likely to get const exceptions if you don't know what you're doing.
> > Const exceptions will bring Rhino down. If you make such a mistake in
> > VB or C#, the code will simply fail to compile.
>
> > The big advantage of using Python over VB is that it is not yet
> > possible to add custom functions/classes to VB. I plan to remedy this
> > pretty soon though.
>
> > Rhino also has a much larger VB.NET developer base, and our Wiki
> > contains a lot of VB examples.
>
> > As to where to go to learn... it's hard to say. When I need to learn
> > new stuff, I usually download example projects/tutorials from the web.
> > There's a number of large websites that have a lot of good example
> > code. You'll probably have to get Visual Studio to run these, but
> > MicroSoft has released free versions called Express. The thing to
> > realize, is that apart from a similar syntax, VB.NET really is nothing
> > like VBScript. Ifs and Loops will be similar, but the way variables
> > are used differs greatly, not to mention VB.NET is completely Object
> > Oriented.
>
> > --
> > David Rutten
> > Robert McNeel & Associates
>
> > ps. VB code is compiled, not interpreted, so it actually runs quite a
> > bit faster as well.
>
> > On Oct 17, 12:51 pm, Patrick <[EMAIL PROTECTED]> wrote:
>
> > > Hi Baldino
>
> > > what about Python...
> > > it is not included yet, but will be very soon by the sound of things
> > > (is that right David?)
> > > and of the three, Python is the easiest to learn
>
> > > Patrick
>
> > > On Oct 17, 5:34 pm, baldino <[EMAIL PROTECTED]> wrote:
>
> > > > hi,
> > > > now that grasshopper has a scrpting component, i would really learn
> > > > how to script with vb.net or c#
> > > > i have good notions of vba (autocad) and some basic rhinoscript skills
> > > > could you indicate me a website where i could find tutorials, help
> > > > files on the .net language applied to rhino ?
> > > > one of the first things i'd like to try is making a paneling tool that
> > > > could populate a geometry with the cage edit function in rhino
> > > > thx a lot- Hide quoted text -
>
> - Show quoted text -

Reply via email to