algorithmic modeling for Rhino
HI I am trying to automate Rhino and Grasshopper through COM, following the example inhttps://github.com/dalefugier/SampleCsAutomation.
I try to load grasshopper
string pluginId = "b45a29b1-4343-4035-989e-044e8580d9cf"; //this is the grasshopper GUID
plugin = rhino.GetPlugInObject(pluginId, pluginId); // rhino is a COM object representing a rhino5 instance
plugin.OpenDocument("D:\MANUEL\Desktop\debugging.gh");
when running the OpenDocument method a window pops up with the following message
Grasshopper breakpoint
Invalid parsing operation inn GH_DigitNumber.Value
Running equivalent code in the RhinoPythonEditor works well.
Please note that "plugin" in the code is an instance of "GH_RhinoScriptInterface" from the graashopper API.
Thanks.
Manuel
Tags:
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
© 2024 Created by Scott Davidson. Powered by