Page 1 of 1

Automatic Solve Order

Posted: Tue Oct 26, 2021 4:42 am
by Tera
After so many years working in SW, still I fail to understand the logic behind equation order.

Can anyone explain why I'm receiving error in the following equation?
2021-10-26_17-31-58.jpg
If I mouse over the yellow triangle I see the following message:
Warning: The equations are out of order. Try Activating "Automatic solve order"

If I follow the instructions in warning the order changes and the error is gone:
2021-10-26_17-39-06.jpg
Why Z variable should be declared before X & Y? It's not used anywhere at all....

thanks for any kind of insight.

Re: Automatic Solve Order

Posted: Tue Oct 26, 2021 6:41 am
by gupta9665
Works OK for me so this could be a glitch. Try force rebuild or restart SW/machine.
image.png

Re: Automatic Solve Order

Posted: Mon Nov 01, 2021 8:42 pm
by Tera
Thanks for the reply and sorry for not being able to reach you sooner. I was in a business trip.

Seems that SW needs to be restarted to understand how the real orders should be.
In my case every time I change the order of equations, I have to restart SW to understand the new order has no problem

Thanks again.

Re: Automatic Solve Order

Posted: Tue Nov 02, 2021 3:44 am
by gupta9665
I would suggest to report to your VAR, could be an issue with the installation or DLL.

Re: Automatic Solve Order

Posted: Tue Nov 02, 2021 10:20 am
by jcapriotti
Tera wrote: Mon Nov 01, 2021 8:42 pm Thanks for the reply and sorry for not being able to reach you sooner. I was in a business trip.

Seems that SW needs to be restarted to understand how the real orders should be.
In my case every time I change the order of equations, I have to restart SW to understand the new order has no problem

Thanks again.
I've seen something similar in the past as we use equations quite extensively. It didn't happen every time but when it did it required a restart of SolidWorks to fix. Seems some code in memory was corrupted. Can you share the file?