Hi, I have just learned that Grasshopper can be controlled via RhinoScript using:
Dim GH
Set GH = Rhino.GetPlugInObject(“Grasshopper”)
and then ‘GH.Methods’
Is there a list of all the methods exposed to RhinoScript available?
I was only able to find bits and pieces of it on Grasshopper3D forum.
Hi Steve, that is a great start. Thanks!
Now, for the parameters / help - I’d be very interested in knowing more about these methods or some usage examples (if they exist).
I’m sure @DavidRutten has a documented list somewhere; I’m just being a goofball and showing off how to do stuff like this in python
I tweaked the python script to
import Rhino
import System
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper")
t = gh.GetType()
methods = System.Type.GetMethods(t)
for method in methods:
print method
Steve, thanks again. I know Python is much more powerful than RS and thanks for the constant reminders
I will ask @DavidRutten on GH forum for the full list/some sort of documentation of this.