Automatic Solve Order

Tera
Posts: 202
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 459
x 88

Automatic Solve Order

Unread post 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.
User avatar
gupta9665
Posts: 365
Joined: Thu Mar 11, 2021 10:20 am
Answers: 20
Location: India
x 391
x 418

Re: Automatic Solve Order

Unread post by gupta9665 »

Works OK for me so this could be a glitch. Try force rebuild or restart SW/machine.
image.png
Deepak Gupta
SOLIDWORKS Consultant/Blogger
Tera
Posts: 202
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 459
x 88

Re: Automatic Solve Order

Unread post 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.
User avatar
gupta9665
Posts: 365
Joined: Thu Mar 11, 2021 10:20 am
Answers: 20
Location: India
x 391
x 418

Re: Automatic Solve Order

Unread post by gupta9665 »

I would suggest to report to your VAR, could be an issue with the installation or DLL.
Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
jcapriotti
Posts: 1802
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1140
x 1947

Re: Automatic Solve Order

Unread post 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?
Jason
Post Reply