I am just a beginner and GH seems like a really cool tool.
I want to use GH from with my own (C#) application. I can interact with Rhino via their interfaces and can instantiate GH this way. But how can I tell GH to simply "load a ghx file" without using the GH GUI? My hope is that after loading the ghx, the rest of the interaction can be done via input text files.
Its almost unbelivable that a software of this scale has no api/command line/COM/something to allow such an operation.
Did I miss something?
(I even tried looking for the GH window and "pressing CTRL-O" via the SendKey command but events seem to get to the Rhino window after all.
Tanir
David Rutten
Hi Tanir,
Grasshopper exposes some functions via the RhinoScript language, but that hasn't been documented properly yet. Would this be sufficient for your needs?
You could also write a GHA file which hooks into Grasshopper, you could then communicate with this instance via WCF, but I've only ever written one WCF app, so this may not be a useful suggestion.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Mar 12, 2012