Hello
As the title says, I have a problem with the final assembly of my project.
I have a main assembly made up of sub-assemblies. When I launch my form, DW drives SW and builds all the subassemblies first. I guess I'm not telling you anything.
So far everything is going well, no freezes or errors indicated by the autopilot. The time comes to open the complete assembly. It opens in SW with everything it has built beforehand + other elements that are in my base model and must be removed during the final assembly + manage the assembly functions.
Except that once opened, everything stops. When I go through autopilot, SW closes completely, it tries twice to continue the process but it comes across the same problem which is as indicated on autopilot "the index is outside the limits of the array". When I test in step by step (Test mode, Queued, interactive) it stops just after opening the assembly and there it puts in red "generate component map" and when you go over it "the index is outside the limit of the array".
In short, always the same message but no other information.
I have spotted configurations that cause this problem (because it is not systematic) and I have therefore done different tests on them. By generating the subassemblies one by one, there is never a problem, it is only during the final assembly. And I can' t isolate any subassembly or element that causes the error all the time. I always have a case that works.
Today I only know one thing, when I launch my project directly with Solidworks in the Driveworks module that is integrated into it, it works until the end while I get the error when going through Driveworks Admin or Autopilot.
The difference is that I have references that get lost on extrusion functions for example by going through SW while they go very well with DW.
Has anyone ever encountered this error message and/or had the same problem?
I suspect that what is stuck must be in my programming but I look for a needle in a haystack with no other information than this message.
Thank you for your help.
Sarah