algorithmic modeling for Rhino
Hi, I'm trying to do a script which can open a grasshopper definition automatically. I can execute Rhino and launch Grasshopper, but I can't make that grasshopper automatically open a .gh definition.
¿Is there any way to do this? I'm think in a batch that simulate the key press of the shortcuts to open document, introduces the path, and press enter, but it can fail if the focus is in another window.
Tags:
Hi Manuel,
Grasshopper exposes a RhinoScript interface. The following methods are available:
IsEditorLoaded()
IsEditorVisible()
LoadEditor()
ShowEditor()
HideEditor()
EnableBanner()
DisableBanner()
IsSolverEnabled()
EnableSolver()
DisableSolver()
RunSolver(expireAll As Boolean)
OpenDocument(fileName As String)
CloseDocument()
CloseAllDocuments()
SaveDocument()
SaveDocumentAs(fileName As String)
AssignDataToParameter(parameterID As String, data As Object)
BakeDataInObject(objectID As String)
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Thanks a lot, that's what i'm looking for.
Hello
When The Remote Controll Panel is activate you can hide The Grasshopper Editor and keep the grasshopper object preview at the screen...
So It is poossible to show the objects and hide the Editor.
Dis somebody has a function in VB/rhinoscript/python to set it without using the Remote control panel?
Charles
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by