Automating Grasshopper Part 1

Course or Collection: 
Video Duration: 
5 minutes
Zach Downey

In this tutorial we do some initial setup to load the Grasshopper plugin into Rhinoscript. We also use a python script from Steve Baer over at McNeel to list out the grasshopper methods available to Rhinoscript.  

import rhinoscriptsyntax as rs
import Rhino
import time
#Load Grasshopper plugin as gh
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper")
### This is used to print the method names ###
for func in dir(gh):
    if not func.startswith('_'): print func


Please rate this tutorial below. Thanks.

Average: 4.9 (17 votes)

Want to Contribute?

Want to be an author? Drop us a line here we'd love to have you.

Already have a video you'd like to post? Send us a link and we'll get you going.