algorithmic modeling for Rhino
Use this script to open specific definition...
-_RunPythonScript (
import Rhino
import System
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper")
gh.LoadEditor()
gh.ShowEditor()
gh.OpenDocument("D:\\Grasshopper\\file.gh")
)
...or use this to enter needed file name in command prompt
-_RunPythonScript (
import Rhino
import System
filename = raw_input('File name')
path = "D:\\Grasshopper\\" + filename + ".gh"
gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper")
gh.LoadEditor()
gh.ShowEditor()
gh.OpenDocument(path)
)
Comment
Simple, concise and VERY useful for a starter. Thankyou Mkr.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!