|
Hello everyone, I am using the Robots Grasshopper plugin with a KUKA robot. Everything was working perfectly before, but suddenly all of my past, previously working definition files have started throwing this error on the merge krl component :1. Solution exception: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. Since this is happening across all my old programs without me changing the Grasshopper logic, I am confused about what triggered it. Has anyone encountered this sudden array index error before? Could this be related to a recent plugin update, a change in the robot library, or a Rhino/Grasshopper update? Any advice on how to debug or fix this would be greatly appreciated. Thank you! |
Replies: 3 comments 2 replies
|
Thanks for the report. Just to clarify, Robots has had some recent updates with breaking changes, so it is possible that the component or plugin providing If the issue still seems to come from Robots after that, please share a minimal Grasshopper file that reproduces it, along with the Robots and Rhino versions you are using, and I can take a closer look. |
|
Thanks, that screenshot helps. Even though the component appears under the Robots tab, it is not a component from the Robots plugin. Grasshopper plugins can place their components on any tab, including tabs created by another plugin, so the tab location does not necessarily identify which plugin owns the component. In this case, Since Robots has had recent updates with breaking changes, that other plugin may need to be updated as well if it depends on Robots types or APIs. |

Thanks, that screenshot helps. Even though the component appears under the Robots tab, it is not a component from the Robots plugin.
Grasshopper plugins can place their components on any tab, including tabs created by another plugin, so the tab location does not necessarily identify which plugin owns the component. In this case,
Merge KRLis likely coming from another plugin or a custom component.Since Robots has had recent updates with breaking changes, that other plugin may need to be updated as well if it depends on Robots types or APIs.