Rhino script editor parameter presets not working since June

I am developing a plugin using the Rhino 8 Script Editor method of adding grasshopper scripts as commands. Since June we have had an issue that when you launch a command with the plugin installed you do not get a preset for each parameter, so when you click Enter on the keyboard the command line sequence ends.

In the image above entering this integer of 100 would have previously created a preset when you launch the command once the Script Editor has compiled the Grasshopper script and the plugin is installed.

Previously, the Script Editor would have taken the variable you had given it in Grasshopper as a preset and put it in brackets (like in the artist’s impression above) in the command line so that if you hit Enter it would just use that preset.

I am starting this thread to try reach clarity on an issue previously shared by my collaborator Anders here:

Please let me know if this is an issue on our end or something that will be fixed in a future update of Rhino. I am currently using Version 8 SR10
(8.10.24212.13001, 2024-07-30), and I believe the issue has been present since Rhino 8 (8.9.24163…).

@eirannejad - is this something you can help with?

1 Like

I logged this bug here and will fix

RH-83231 Published GH1 command does not clear contextual data consistently

1 Like

Pushed a fix for this for 8.11

1 Like

Amazing! When do you estimate this release will be published?

It works great! Thanks for fixing this in the new update v8.11! I realise this might not be the location for this but I have a new issue now that when I import an SVG for the command icons I get this error when I import it:


The imported SVG shows up initially but does not seem to save when you close the editor and is missing when you build the app.

1 Like

That one is on me @James_Walker, apologies,
There’s a ticket open for it here and I’m hoping to have it all wrapped up soon.
https://mcneel.myjetbrains.com/youtrack/issue/RH-83334/SVGEditor-Background-Svg-not-saved-with-edits

2 Likes

No worries! Good to hear you’re on it already. I will just trace my old icons in the meantime :sweat_smile: