Dear Andy
Thank you very much for answering my questions.
Indeed, my programming colleague with C# and I with Hops have managed to run simple GH files on RhinoCompute. I also understood from the second question that some 3rd party plugins are not compatible with RhinoCompute. - Probably mainly because of the headless mode in RhinoCompute.
For the plugin Minimum Bounding Boy we have found a version on GitHub that runs on Rhino Compute.
We are now facing completely different problems. We cannot run the attached simple GH_File on Rhino Compute. The error message “Missing Definiton Objects” appears.
However, if we copy all components on the canvas into a new GH file, it works again in RhinoCompute. Do you know what the problem is? -We have tested it on two different computers. With C# as well as with Hops. We keep getting these and similar error messages and debugging becomes a torture.
In C# it is still possible to output partial results, even if errors appear. Is this also possible with hops?
In C# e.g.:
if (output == null)
{
ctx.Response.StatusCode = 500;
}
else
{
ctx.Response.StatusCode = 200;
…
Is there an overview of do’s and don’ts when using Grasshopper in Rhino Compute and a debugging guide for non-programmers?
Thank you very much
Silvan
PS: The file contains a Pufferfish component Bounding Rectangle. All the other components should be native.
GH-file_sometimesnotrunning_Hops_V1.gh (78.9 KB)