Hi,
so I managed to test the solution and the iteration doesn’t throws anything now. Anyway, I found another issue: I tried to open a .rui file created with Rhino 7 with
var tollFile = RhinoApp.ToolbarFiles.Open(pathToRui)
but this returns null. I manually linked the file using Rhino 8 settings and it works as expected.
Is there any compatibility issue?
the opening of `.rui files now works as expected, but another (minor) issue has risen.
Every time I open the Tools >> Options… dialog and go to the Toolbars section, our toolbar is reloaded as a duplicate (in the screen below you can see what happened after opening the options dialog 16 times).
Fun fact, only the first item seems to be “active” (that is, toggling its checkbox hides/shows the toolbar), all other items just seem to be dead/inactive.
Although the toolbar works as expected, having all these duplicates entries can be disorienting for users.
Any idea of what is happening under the hood, @dale ?
Thanks