algorithmic modeling for Rhino
Hi I'm planning an interactive installation which is running over grasshopper, using the Kinect sensor and an arduino for MIDI output. The only thing that is annoying me is that I have to open rhino, type grasshopper and load the file before it runs.
Is it possible to start the grasshopper file with a kind of autostart script when windows is booting?
The Windows machine does just have this one purpose during the installation and it would be great if everything could start on it's own after pressing the power button of the computer.
Tags:
I found a solution:
Option Explicit
Call Main()
Sub Main()
Dim GH
Set GH = Rhino.GetPlugInObject("Grasshopper")
Call GH.DisableBanner()
Call GH.ShowEditor()
Call Rhino.Print("Loaded:" & GH.IsEditorLoaded())
Call Rhino.Print("Visible:" & GH.IsEditorVisible())
Call Rhino.Print("Enabled:" & GH.IsSolverEnabled())
Call GH.OpenDocument("C:\testfile.ghx")
End Sub
It works perfectly: everytime I boot my computer it automatically runs Rhino, Grasshopper and the grasshopper file for the interactive installation.
Thanks for sharing!
I found it very useful for automatically opening from Rhino a GH file associated with the current 3dm document.
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