m.camillo
(Marco Camillo)
November 22, 2022, 3:16pm
1
Hi,
the following code snippet throws a IndexOutOfRangeException
after first iteration
foreach (var tf in RhinoApp.ToolbarFiles) {
if (tf.Name == "default") {
defToolbarFile = tf;
}
}
Any way to work around this? Should I just wait for a fix?
Thanks
dale
(Dale Fugier)
November 22, 2022, 8:52pm
2
brian
(Brian Gillespie)
November 29, 2022, 11:43pm
3
RH-71511 is fixed in the latest WIP
m.camillo
(Marco Camillo)
December 6, 2022, 4:26pm
4
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?
Thanks
m.camillo
(Marco Camillo)
December 16, 2022, 9:48am
5
Bug is still encountered in latest WIP version 8.0.22347.14305, 2022-12-13
dale
(Dale Fugier)
December 16, 2022, 7:06pm
7
@JohnM - can you help with this?
m.camillo
(Marco Camillo)
January 24, 2023, 10:36am
8
Hi,
ToolbarFiles.Open()
still returns null with a valid RUI file, I’m on WIP version 8.0.23010.12305
dale
(Dale Fugier)
January 25, 2023, 6:53pm
9
Hi @m.camillo ,
Yes this is true and known. This isn’t likely to change until we get closer to shipping Rhino 8.
– Dale
1 Like
Hello, I have the same issue trying to load a *.rui
file.
The file is not loaded and ToolbarFiles.Open()
returns null
.
Any update?
1 Like
dale
(Dale Fugier)
September 8, 2023, 2:48pm
11
1 Like