What causes yellow equations?
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
What causes yellow equations?
Can you guys shed any light on what causes equations to turn yellow? I've got a whole slew of them and cannot find any cause.
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: What causes yellow equations?
Can't you view what is wrong with the equation? I've seen it at times, but I can't deduct from that screenshot alone.
Maybe the one missing dimension (D4@Sketch5) is the cause of it all?
Maybe the one missing dimension (D4@Sketch5) is the cause of it all?
- Glenn Schroeder
- Posts: 1527
- Joined: Mon Mar 08, 2021 11:43 am
- Location: southeast Texas
- x 1777
- x 2142
Re: What causes yellow equations?
Did you delete some dimensions or sketches? If yes, and they contained equations, the equations will show an error instead of being deleted.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."
Ray Wylie Hubbard in his song "Mother Blues"
Ray Wylie Hubbard in his song "Mother Blues"
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
Re: What causes yellow equations?
Yeah, I had the same thought, but it wasn't.AlexLachance wrote: ↑Tue Dec 05, 2023 2:13 pm Can't you view what is wrong with the equation? I've seen it at times, but I can't deduct from that screenshot alone.
Maybe the one missing dimension (D4@Sketch5) is the cause of it all?
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
Re: What causes yellow equations?
No, it's the usual SW stuff: one minute everything is clear, the next minute, everything changes colors. I checked the dimensions and none show any errors. It's only the Equation Manager that is complaining. I gave up on solving the problem and deleted them all. It's horrible to have to do it, but it was keeping me from completing my work. Frustrating.Glenn Schroeder wrote: ↑Tue Dec 05, 2023 2:34 pm Did you delete some dimensions or sketches? If yes, and they contained equations, the equations will show an error instead of being deleted.
Re: What causes yellow equations?
Any chance you had multiple configurations?
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
-
- Posts: 82
- Joined: Thu Jan 20, 2022 3:35 pm
- x 31
- x 91
Re: What causes yellow equations?
What happens if you hover your mouse over them? Or RMB the equations node of the feature tree? I believe there is a some way to get an indication of the (supposed) problem.
You can also try CTRL+Q to do a force rebuild.
Another possibility (I can't see from your screen capture) is that you have the equations set to "manual solve order", but the order in the equation manager (or via Reference id depending on version) doesn't match the order the equations are used by your feature tree.
Solidworks did screw something up with equations in 2022 (and maybe in 2021 also), where the "order" the solver obtains from the equation manager isn't the order they are listed, but is the order of the "Relation IDs" which you can see by hovering over an equation. Stupid bug. I haven't checked to see when/if its been fixed in a future version. I believe SPR1227203 is the one to track for this issue.
One hack to reset equations is to export them to a .txt file, delete them all from the model, and re-import from the file, WITHOUT linking to it. Then delete the .txt file.
Good luck!
You can also try CTRL+Q to do a force rebuild.
Another possibility (I can't see from your screen capture) is that you have the equations set to "manual solve order", but the order in the equation manager (or via Reference id depending on version) doesn't match the order the equations are used by your feature tree.
Solidworks did screw something up with equations in 2022 (and maybe in 2021 also), where the "order" the solver obtains from the equation manager isn't the order they are listed, but is the order of the "Relation IDs" which you can see by hovering over an equation. Stupid bug. I haven't checked to see when/if its been fixed in a future version. I believe SPR1227203 is the one to track for this issue.
One hack to reset equations is to export them to a .txt file, delete them all from the model, and re-import from the file, WITHOUT linking to it. Then delete the .txt file.
Good luck!
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
Re: What causes yellow equations?
Thanks for the suggestions. I'll check them next time this happens.ryan-feeley wrote: ↑Tue Dec 05, 2023 7:43 pm What happens if you hover your mouse over them? Or RMB the equations node of the feature tree? I believe there is a some way to get an indication of the (supposed) problem.
You can also try CTRL+Q to do a force rebuild.
Another possibility (I can't see from your screen capture) is that you have the equations set to "manual solve order", but the order in the equation manager (or via Reference id depending on version) doesn't match the order the equations are used by your feature tree.
Solidworks did screw something up with equations in 2022 (and maybe in 2021 also), where the "order" the solver obtains from the equation manager isn't the order they are listed, but is the order of the "Relation IDs" which you can see by hovering over an equation. Stupid bug. I haven't checked to see when/if its been fixed in a future version. I believe SPR1227203 is the one to track for this issue.
One hack to reset equations is to export them to a .txt file, delete them all from the model, and re-import from the file, WITHOUT linking to it. Then delete the .txt file.
Good luck!
-
- Posts: 223
- Joined: Tue Mar 09, 2021 7:25 am
- Location: Netherlands
- x 185
- x 230
Re: What causes yellow equations?
Potentional Circular Reference detection, which has changed detection levels in the last few versions of SolidWorks, causes the alarm of yellow displayed equations. Some equations had no alarm in SW2019 and performed as expected, but were potentionally to be problematic in later versions, but still performed as expected.
https://help.solidworks.com/2022/englis ... 559254#Pg0.
https://help.solidworks.com/2022/englis ... 559254#Pg0.
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95
Re: What causes yellow equations?
A good thought. I don't think it applies to this case, but definitely something to keep an eye on.Frank_Oostendorp wrote: ↑Thu Dec 07, 2023 5:59 am Potentional Circular Reference detection, which has changed detection levels in the last few versions of SolidWorks, causes the alarm of yellow displayed equations. Some equations had no alarm in SW2019 and performed as expected, but were potentionally to be problematic in later versions, but still performed as expected.
https://help.solidworks.com/2022/englis ... 559254#Pg0.
Thanks for the suggestion.
Re: What causes yellow equations?
If you have dims used in the equation and the item is suppressed it will show as an error since it can't fine the dimension
-
- Posts: 195
- Joined: Fri Mar 19, 2021 12:21 pm
- x 37
- x 95