Hello to you!
I'll first explain the context before asking my question: my company has just acquired DriveWorks to be able to configure some of its machines. We have followed the training provided by CadWare, and for the past week I have been working on a part of one of the machines that we want to make configurable.
So far so good, I remade a clean SW model, a priori adequate to work with DW. I have completed my DW project, it seems finished to me (especially in its functional part the design will be to be thought about when it works!).
My problem is that when designing the Main Assembly, I had to place 200 instances of the same part. So I decided to make a subassembly, in which I assembled 100 (screen1 http://image.noelshack.com/fichiers/2016/16/1461156558-screen1.png), and then I inserted this assembly into my main assembly twice to get to my 200 occurrences. This saves me from having 600 more constraints in the main assembly.
A priori, I followed the necessary steps to be able to independently control the dimensions of each of these 200 parts.
I entered the instances of the two subassemblies, which I also placed under their components (in the DW rule tree) (screen2 http://image.noelshack.com/fichiers/2016/16/1461156561-screen3.png)
I also entered the variables for the captured dimensions, as well as for the FileNames (screen3 http://image.noelshack.com/fichiers/2016/16/1461156555-screen4.png)
Then I replaced the instances of these subassemblies in the main assembly (which is placed at the very bottom) (screen4 http://image.noelshack.com/fichiers/2016/16/1461156560-screen5.png)
And I made a rule for the fileName of the subassemblies (screen5 http://image.noelshack.com/fichiers/2016/16/1461156553-screen6.png).
Only during my model generations I get: (screen6 http://image.noelshack.com/fichiers/2016/16/1461156560-screen7.png)
The two subassemblies have not moved, but they have taken the names indicated in the FileNames.
During the tests that can be carried out in the spec explorer, you can see that my files have the right name, and should therefore move accordingly (Screen7 http://image.noelshack.com/fichiers/2016/16/1461156556-screen8.png)
. We can also see, on Screen8 ( http://image.noelshack.com/fichiers/2016/16/1461156560-screen9.png ) ), that the values of the variables predicted for the dimensions move well and do not remain at the initial value which was 592. However, in the generated assemblies they all have the same name (Screen9 http://image.noelshack.com/fichiers/2016/16/1461156558-screen10.png ), which makes them the same part as the original one.
It's a bit like if there was a missing link, between DW and SW, maybe you have an idea?
Thank you for your help!
PS: It's not practical to be able to put only one attachment! :p
EDIT: Ah thank you for your answer PL, I didn't expect so much speed! Oh I hadn't seen the button provided for this purpose, so I uploaded my images and put the links in my message, note that I didn't expect to have to upload them, and that there is therefore a delay in the numbers that are present in the links, You have to refer to the name of the screen that I put in bold before the link;)
Otherwise sorry, I forgot to mention that we are running on SW11 and we therefore have version 10 of DriveWorks (the one that was compatible with our SolidWorks)
And yes, the problem persists despite restarting the system.
I'll try with a sub-assembly of a part to see if it works
screens.pdf