Grasshopper

algorithmic modeling for Rhino

what is the difference between rhinoscript and (VB or C# of Gh)

Because rhinoscript is similar to vb,so what is the difference.all the things rhinoscript can do,that can be done in VB?

Thank you very much!

Views: 1421

Replies to This Discussion

RhinoScript (based on VBScript) does indeed have a similar heritage as VB.NET, but the two languages are very different. They use a different SDK and they are based on different paradigms.

Pretty much everything you can do with RhinoScript you can also do with VB/C#, but not the other way around. Furthermore, you cannot use RhinoScript in Grasshopper at all.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

....with the exception of Python-based rhinoscriptsyntax, which is available in GhPython.
rhinoscriptsyntax mimics every method in VbScript-based RhinoScript, but it is based on Python.

See the Rhino.Python community for more details.

Thanks,

- Giulio
________________
giulio@mcneel.com

thank all of you!but i like C#!

I'm a little puzzled by this statement now :)

Then, I'll maybe rephrase the question like this:

It is generally possible to handle all Rhino geometry types in C# as in VbScript-based RhinoScript?


The answer is yes. RhinoCommon, that you use in C# and Vb.Net, is object oriented, while VbScript RhinoScript is more imperative.

Cheers,

- Giulio
________________
giulio@mcneel.com

RhinoScript¹º¹ will be almost entirely though not completely useless. RhinoScript is based on a different language paradigm and uses a different SDK. It will probably just confuse you.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service