I have created an assembly including many parts and sub-assemblies many of which have 6 configurations.
The problem is that sometimes one of the parts will be shown in dimensions belonging to a wrong configuration, although in feature manager tree the right configuration number is shown. I have to mention that this is not for a specific part. Problem happens for different parts at different times. (Ctrl+q does not solve the problem).
Example:
assembly configurations: 1,2,3,4,5,6 current configuration: 2
part 1 configurations: 1,2,3,4,5,6 current configuration: 2
error: part 1 dimensions belong to its first configuration although in feature manager tree it clearly says part 1 configuration is 2.
I have done many things to solve this problem but I have not been successful. I will be very thankful if anyone can help.
Unfortunately uploading the assembly is not possible because I have to upload the whole project which is not feasible.
Thanks,
Mehdi

I'm not sure what the problem is. Could you show screenshots of the tree and where it is in error?
Dan
In addition to what says, can you upload a sample assembly (using Pack and go to package the assembly and all its components to a zip file) so that we can look at it?
2018 SOLIDWORKS Help - Pack and Go Overview
Hi Mehdi
I work with configurations all the time - they can and do cause problems.
The why is a strange one. sometimes it could be poor design but there are definitely elusive bugs that sporadically cause Solidworks to change a Configured dimension to All Configs so that would be the first thing I would check in your part files.
For me the easiest way to do this is to use the Modify Equations dialog
Check that every dim that should be configured is configured.
I have no idea what causes this bug, but if you can upload an example I could try trouble shooting it.
In general one thing that definitely helps is Adding Rebuild on Save Marks for your configs.
2018 SOLIDWORKS Help - Generating Configuration Data
Good Luck
By the way if you work this way a lot
you may be interested in this
It's a bit clunky and could definitely use a revamp but it's a real big time saver.
Thaks a lot Rob,
Very useful reply.
About the first part, I am sure that all dimensions are correctly configured.
But the second part may be useful. I will try using it to see if this solves the problem or not.
If the problem continues I will try to create an example which generates the same error and upload it although this is very difficult because as you correctly mentioned the errors are sporadic.
And at last about the macro, it seems a very handy and useful one. If I can solve my problem I may try using it.
Again thanks a lot for your useful reply.
Mehdi
Thanks a lot for your reply Dan,
If Rob's recommendations did not solve my problem, I will try to send some sample so that you can help me more.
Thanks again and again,
mehdi
Thanks a lot for your reply Dan,
As mentioned earlier, If Rob's recommendations did not solve the problem, I will try to send more information in order to get more help.
Many many thanks,
mehdi
Hi,
I was able to catch a simple instance of my problem. Solidworks file is attached along with the screen shot.
As you can see, D2@Sketch9 is supposed to have the value 560 as is shown correctly in the equation window.
But in the part, this dimension has the value 660 which is the value for the same dimension in another configuration (not the active one)!!
Thanks a lot again for your help,
Mehdi
Wow! There is a lot going on there!
So, I checked "automatic rebuild" and now I cannot get it to be wrong.
Have you tried that?
Hi Mehdi
I dragged your evaluated equations down to the bottom of the equation order (because I don't trust SW solver in this case) and it seems to be working.
But sometimes just opening the equations manager fixes problems so I don't know for sure if that was the cure.
To me it seems you are only using equations to change values (ie not doing any on the fly calculations) so I wonder if you might be better using a Design Table for this part.
Being able to view all your data in table form may be easier than dealing with this list long perhaps?
Thanks a lot Dan,
I have checked this item for many of my parts but the problem is not solved.
As the problem is sporadic it is very difficult to create a simple situation which has the exact same problem.
many thanks for your reply,
mehdi
Hi Rob,
Although it is a bit early to judge about the result but I think you have found the problem, and many many thanks for that.
It seems that this Automatic solve has been the reason for all the headache.
I am updating the whole project based on this hint and I hope that the problem be solved.
About the equations usage, whenever I want to share a value for one parameter between several parts I use equations which are linked to an external file. In this way if any change in the value is required I will have to update only that external file. I tried to find a way of using a shared excel file as design table between several parts but it seemed to be impossible.
many thanks again Rob,
mehdi
Hi,
Although what Rob said reduced the amount of errors, but unfortunately the error still exists as shown in the attached files.
Many many thanks in advance for your participation in solving this really bothering problem.
mehdi