As the following image shows Solidworks does not update the value of the highlighted parameter correctly!
related files are attached and I will be really thankful for any suggestion regarding solving this problem.
Unfortunately there exist problems when you combine Global Variables and Equations and Configurations.
At our company we encounter a situation where changing a Global Variable does not always trigger a rebuild in non active configurations and the only solution is to do as you say - manually activate the equations in the affected configurations.
The problem is that for us users, we really don't have a clue what is happening and why things don't work. - Is it a bug or do I have it set up wrong?
I would raise this problem with your VAR. Although I wouldn't hold my breath on them giving you a solution.
I can only speculate as to the reason.. I have a hunch it is because there is no relationship added, well nothing that a user can see. We just have to trust that the code does what we expect.
That said I would try the solution I proposed.
Consider your dimension D1@Sketch1
It is controlled by an equation and this equation is the same for All Configurations.
But the result (the value) of this equation is different for each configuration which is why I think it needs to be configured.
Now it would be nice if Solidworks was clever enough to do this for you, but how can Solidworks know that is what we want. ie Do we want the equation to control All of our configurations or just this one?
As your equation is just making one dimension equal to another, an alternative could be to use a Link Value.
2018 SOLIDWORKS Help - Linking Dimension Values Using Link Values
You can happily combine Link values and Equations.
Note that only one of the linked dimensions can be controlled by equation, but this equation is updating all of them (there's only one dimension). and of course the equation can be configured.
Here's what it look like.
Your D1@Sketch1 Dimension was unconfigured. I configured it, then switched configurations back and forth and it seems to be working
Thanks a lot Rob for your reply.The fact is that I encounter this problem sporadically in different assemblies. The ones in which configurations and equations both are used. Going back and forth between configurations (only in equations window) always solves the problem at the time. But again, sporadically, the problem will arise at some other time.
About your sentence: "Your D1@Sketch1 Dimension was unconfigured", I did not get it. when you open the equations window it says that "D1@Sketch1" should be equal to "bowl_motor_support_holes_w" whose value is 555 while the current value is 345. What does this have to do with configuration? In fact if you change the configuration in configuration manager to 240 and open the equations window you will be the same formula for "D1@Sketch1" which means that this parameter is configured.
As I have seen your experience specially in configurations, I really hope that you can solve this problem for me.
Many thanks again for your time.
Once again you proved your experience in Solidworks Rob. Thanks.I had used an intermediate variable for setting the value of "D1@Sketch1" and as you correctly said this intermediate variable is not updated for inactive configurations. I removed this variable and I think the problem will be solved.
I wonder why you with so many points in the forums cannot be connected to Solidworks people about the problems you mentioned and get their response!I really appreciate your help for solving my problem.thanks,
Retrieving data ...