8 SR15 (8.15.24352.13001, 2024-12-17) Display problem in the background

The new update broke my plugin (Grasshopper Gold). in the hidden view of the Grasshopper window, the display of objects no longer works.! Please fix it. or give a tool to solve it. @dale

 public class ggCommand1 : Command
    {
        public GH_RhinoScriptInterface gh = new GH_RhinoScriptInterface(); public ggCommand1() => Instance = this; public static ggCommand1 Instance { get; private set; }
        public override string EnglishName => "GG_Choose_Diamond";

        protected override Result RunCommand(RhinoDoc doc, RunMode mode)
        {
            if (!gh.IsEditorLoaded())
            {
                gh.DisableBanner(); gh.LoadEditor(); gh.ShowEditor(); gh.HideEditor();
            }

            string filePath = GG_Utils.GetNameCom()+"GEMS/Choose Diamond.gh";

            if (string.IsNullOrEmpty(filePath) || !System.IO.File.Exists(filePath)) return Result.Cancel;
            var ghDoc = Instances.DocumentServer.AddDocument(filePath, true);
            return Result.Success;
        }
    }

Hi @taraskydon,

Open your .gh file, enable this and save.

2 Likes

sorry, but this is not a native solution!. it can be done for rhino8. but in rhino7 this option is not available. in this case, if I re-save the algorithm in rhino8, then for people using rhino7, when running the tool, there will be an Error message. @kike

To keep compatibility with v7 all the .gh files that come from v7 to v8 will have this check enabled when opened.

Please test the version we will release next Tuesday.

1 Like

Thank you, I’m looking forward to it. @kike
why was this feature added “Keep open after command completes”? What is its benefit?

When is unchecked, the Grasshopper Player can close the .gh file after run it.

Some definitions do not have any UI or just use the contextual components here.


In these cases is convenient to close the definition right after it runs.

This way it behaves as a regular command, opens, runs and close.
Freeing all the resources.

1 Like

I tested my GH algorithms with UI and indeed, now they can be run through the GHplayer. But I don’t think it will benefit me. I think there is no difference in performance. Maybe it will be useful on MacOS. more tests are needed. (because I have a problem there with the first launch of the algorithm in the GH Hide)

What plugin are you using to have these grips at the beginning of the video?
Are you using HumanUI for the UI?

No, it’s ETO UI I wrote nodes for GH in C# to use them. And the control arrows are also written in C# for GH I use “DisplayConduit” so they are visible in any case. GrasshopperGold If you have a desire, you can download the plugin the old version…

I just noticed that SR14 also has this feature. but the algorithms work well . for some reason you decided to exclude the display of objects GH in SR15. :thinking: