What is the most efficient way to deal with equation errors?
What is the most efficient way to deal with equation errors?
I've been dealing with a lot of
"The following equations could not be evaluated because of deleted/invalid dimensions:"
...errors on a large, complex part that I've been working on.
Why I'm getting the error is no mystery: I'm deleting features that contain in-play variables.
The question becomes how to efficiently deal with the errors.
For example, how does one execute a global search for for "D2@Sketch85" (whether it's being used or not, whether it needs to be deleted or not)?
Is there a way to automatically delete all orphaned equations?
Regarding the yellow exclamation point to the left of an equation in the equation manager: what exactly does it mean? How is it corrected?
Thanks for any replies.
"The following equations could not be evaluated because of deleted/invalid dimensions:"
...errors on a large, complex part that I've been working on.
Why I'm getting the error is no mystery: I'm deleting features that contain in-play variables.
The question becomes how to efficiently deal with the errors.
For example, how does one execute a global search for for "D2@Sketch85" (whether it's being used or not, whether it needs to be deleted or not)?
Is there a way to automatically delete all orphaned equations?
Regarding the yellow exclamation point to the left of an equation in the equation manager: what exactly does it mean? How is it corrected?
Thanks for any replies.
SW 2024 SP 5.0
Windows 11
Windows 11
- jcapriotti
- Posts: 1869
- Joined: Wed Mar 10, 2021 6:39 pm
- Location: The south
- x 1215
- x 1999
Re: What is the most efficient way to deal with equation errors?
You could use the "Dimension View" in the equation manger to see all dimensions, then the filter box show only the boxes that contain the dimension.
Jason
- Frederick_Law
- Posts: 1948
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1642
- x 1471
Re: What is the most efficient way to deal with equation errors?
Setup Variables to use in equation.
Only use dimension from same sketch/feature.
Setup Variables for cross sketch/feature dimensions.
Don't do "chain" dimension: D2=D1, D3=D2, D4=D3 etc.
Make it: D2=D1, D3=D1, D4=D1
Only use dimension from same sketch/feature.
Setup Variables for cross sketch/feature dimensions.
Don't do "chain" dimension: D2=D1, D3=D2, D4=D3 etc.
Make it: D2=D1, D3=D1, D4=D1
- Glenn Schroeder
- Posts: 1522
- Joined: Mon Mar 08, 2021 11:43 am
- Location: southeast Texas
- x 1759
- x 2132
Re: What is the most efficient way to deal with equation errors?
You forgot one. Use construction geometry and relations instead of equations whenever possible and practical. Which is almost all of the time for me.Frederick_Law wrote: ↑Wed Aug 30, 2023 11:30 am Setup Variables to use in equation.
Only use dimension from same sketch/feature.
Setup Variables for cross sketch/feature dimensions.
Don't do "chain" dimension: D2=D1, D3=D2, D4=D3 etc.
Make it: D2=D1, D3=D1, D4=D1
"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"
- Frederick_Law
- Posts: 1948
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1642
- x 1471
Re: What is the most efficient way to deal with equation errors?
Yes, those go in first.
Usually I'll use D1=D2 instead of equal relation because it's easier to change if they don't equal anymore.
Colinear and midpoint are great things to use.
Usually I'll use D1=D2 instead of equal relation because it's easier to change if they don't equal anymore.
Colinear and midpoint are great things to use.
- AlexLachance
- Posts: 2195
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2382
- x 2021
Re: What is the most efficient way to deal with equation errors?
This is an understatement. Too many people use equations the wrong way. This is one of the worst.Frederick_Law wrote: ↑Wed Aug 30, 2023 11:30 am Don't do "chain" dimension: D2=D1, D3=D2, D4=D3 etc.
Make it: D2=D1, D3=D1, D4=D1
- Frederick_Law
- Posts: 1948
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1642
- x 1471
Re: What is the most efficient way to deal with equation errors?
Chain projection is next on that list.
Re: What is the most efficient way to deal with equation errors?
You sound like a BBQ chef who used to spend a lot of time around here.Glenn Schroeder wrote: ↑Wed Aug 30, 2023 2:00 pm Use construction geometry and relations instead of equations whenever possible and practical. Which is almost all of the time for me.
-
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
- Glenn Schroeder
- Posts: 1522
- Joined: Mon Mar 08, 2021 11:43 am
- Location: southeast Texas
- x 1759
- x 2132
Re: What is the most efficient way to deal with equation errors?
How is deleting a relation more difficult than editing or deleting the equation?Frederick_Law wrote: ↑Wed Aug 30, 2023 2:16 pm Yes, those go in first.
Usually I'll use D1=D2 instead of equal relation because it's easier to change if they don't equal anymore.
Colinear and midpoint are great things to use.
"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"
- Frederick_Law
- Posts: 1948
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1642
- x 1471
Re: What is the most efficient way to deal with equation errors?
I mean changing it later. Not right after they're added.
To change D2 = D1, just edit and enter new dimension.
To remove equal relation, first highlight/display and find the relation in sketch.
If it's the only equal relation, it'll be easy.
Sometimes there are a few "chain" relations. There might be 2 or more =
To change D2 = D1, just edit and enter new dimension.
To remove equal relation, first highlight/display and find the relation in sketch.
If it's the only equal relation, it'll be easy.
Sometimes there are a few "chain" relations. There might be 2 or more =
Re: What is the most efficient way to deal with equation errors?
Not to be "that guy", but is there any way you could post a .SLDPRT example of that?Frederick_Law wrote: ↑Wed Aug 30, 2023 11:30 am Setup Variables to use in equation.
Only use dimension from same sketch/feature.
Setup Variables for cross sketch/feature dimensions.
Don't do "chain" dimension: D2=D1, D3=D2, D4=D3 etc.
Make it: D2=D1, D3=D1, D4=D1
Thanks.
SW 2024 SP 5.0
Windows 11
Windows 11
Re: What is the most efficient way to deal with equation errors?
Ah, thanks.jcapriotti wrote: ↑Wed Aug 30, 2023 10:59 am You could use the "Dimension View" in the equation manger to see all dimensions, then the filter box show only the boxes that contain the dimension.
image.png
image.png
On a related note, how would I search for the feature or features that use, for example, "D2@Sketch85"?
SW 2024 SP 5.0
Windows 11
Windows 11
Re: What is the most efficient way to deal with equation errors?
What is a chain projection?
Thanks.
SW 2024 SP 5.0
Windows 11
Windows 11
- Frederick_Law
- Posts: 1948
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1642
- x 1471
Re: What is the most efficient way to deal with equation errors?
Project a line from sketch1 to sketch2.
Project the project line in sketch2 to sketch3.
Repeat for 10 more sketch.
This make each sketch dependent of the one before.
All they need is sketch1.
This could happen when project from feature. Instead of sketch, project from feature edge/face.
It is always much more stable when project from sketch. Even when feature is suppressed, the sketch is still there.
Project the project line in sketch2 to sketch3.
Repeat for 10 more sketch.
This make each sketch dependent of the one before.
All they need is sketch1.
This could happen when project from feature. Instead of sketch, project from feature edge/face.
It is always much more stable when project from sketch. Even when feature is suppressed, the sketch is still there.
- DanPihlaja
- Posts: 849
- Joined: Thu Mar 11, 2021 9:33 am
- Location: Traverse City, MI
- x 813
- x 981
Re: What is the most efficient way to deal with equation errors?
Here are a couple of different ways of doing the same thing (see attached). In all 4 scenarios, all the circles in the sketch are driven by something so that you only have to edit 1 thing to change all the circle diameters.
Please note: There are other ways to do it, but these are some examples
1) Global Variable
2) Equals Diameter dimension
3) Linked Values
4) Equals Constraint
Attachments made with SW 2022.
- Attachments
-
- ShapesGlobalVariable.SLDPRT
- (72.3 KiB) Downloaded 125 times
-
- ShapesEquals.SLDPRT
- (73.05 KiB) Downloaded 65 times
-
- ShapesLinkValues.SLDPRT
- (73.89 KiB) Downloaded 105 times
-
- ShapesEqualsDiameterDim.SLDPRT
- (73.84 KiB) Downloaded 128 times
-Dan Pihlaja
Solidworks 2022 SP4
2 Corinthians 13:14
Solidworks 2022 SP4
2 Corinthians 13:14