we have a customer who has problems with the icon sizes in Grasshopper (Rhino 7 and Rhino 8) after starting it via our Rhino.Inside dll. Normally this works fine. Does anyone have an idea?
We start Grasshopper via Rhino.Common API the following way:
using (var rhinoCore = new RhinoCore(new string[] { "/netfx /NOSPLASH" }, WindowStyle.Normal))
{
var grasshopper = Rhino.RhinoApp.GetPlugInObject("Grasshopper") as Grasshopper.Plugin.GH_RhinoScriptInterface;
grasshopper.EnableBanner();
grasshopper.ShowEditor();
rhinoCore.Run();
}
This is likely because Rhino is only System DPI aware and you may be running your application in per-monitor DPI aware mode. You may have to create a manifest for your application as described here.