Skip to content

Instantly share code, notes, and snippets.

@smakhtin
Created February 23, 2014 11:36
Show Gist options
  • Select an option

  • Save smakhtin/9170237 to your computer and use it in GitHub Desktop.

Select an option

Save smakhtin/9170237 to your computer and use it in GitHub Desktop.
Open Grasshopper definition from Rhino. Usefull for debugging, combined with "-RunPythonScript RunGH.py" command.
import Rhino
import System
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper")
gh.LoadEditor()
gh.ShowEditor()
gh.OpenDocument("test.gh")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment