Created
February 23, 2014 11:36
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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