RhinoCode GH problems

I have some questions/bugs regarding the RhinoCode GH component:

  1. Sometimes, when there is an error in the script and the component turns red, it slows down the whole UI (Rhino & GH) - even after the script is deactivated, as can be seen in the video below. This happens with basic scripts, no timer/trigger or sth.
    Only when the “red” component is deleted does the UI work normally again.

RHCodeBug.gh (11.5 KB)

  1. Error message point to the wrong line in the code. In the script, it points to line 55, which does not even exist in the script.

  2. Regarding the error itself: The simple averaging script works fine in the old C# component, but not anymore in the new Script component. I can see that the input is not declared as List<double> anymore, but as System.Collections.Generic.IEnumerable<double>. The .Count seems to not work anymore.
    Am I missing sth here?

  3. I have seen many screenshots of the RhinoCode editor in dark mode, but cannot change it on my system. The whole UI is in dark mode except the code text field, which is white.

Thanks a lot,
Rudi

systemInfo.txt (6.5 KB)

1 Like
  1. Another usability issue regarding the scripting window which sometimes is not kept in front: The old C# editor works fine, the one behaves differently.

1 Like


The manage assemblies option in the GH RhinoCode editor is gone… how can I access 3rd party assemblies?

1 Like

@Alain, @eirannejad could you also take a look at these issues? :building_construction:

I have the same issues. Thanks for bring those up.

@eirannejad, I know there is probably a lot of work for RhinoCode rn, but could you help me here? A dark mode sounds like a simple and quick fix with a lot of value.

Cheers, Rudi

1 Like

@rudolf.neumerkel
I got it fixed but it has a few other issues that I have filed YTs for linked below:

RH-66440 Allow setting theme and font (and maybe other editor styling) on constructing the editor

Thanks a lot, Sir!
I guess the dark option will come with the next WIP?
Cant see any options in the current WIP

1 Like

Yes. Hopefully we will publish a new WIP tomorrow :smiley:

1 Like