Equations when creating mates

Here we have answers to common questions about SolidWorks. If you want to request or contribute answers, just flag down a moderator.
User avatar
SPerman
Posts: 2055
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2225
x 1876
Contact:

Equations when creating mates

Unread post by SPerman »

Does anyone know if Solidworks is ever going to allow you to use equations when creating mates? It is a bunch of extra work to create the dimension. Then go and double click the dimension so you can point it to the variable. (And that step usually requires multiple attempts, because double clicking the wrong thing only lets you change the value, not enter the equation.)

I think someone (Josh maybe) said several years ago that they would be adding this functionality across the board over time, but that doesn't appear to be the case. Have they abandoned this for all the new bells and whistles?
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
josh
Posts: 295
Joined: Thu Mar 11, 2021 1:05 pm
Answers: 16
x 22
x 508

Re: Equations when creating mates

Unread post by josh »

You talking about distance mates and/or angle mates specifically?
User avatar
SPerman
Posts: 2055
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2225
x 1876
Contact:

Re: Equations when creating mates

Unread post by SPerman »

josh wrote: Wed May 08, 2024 3:21 pm You talking about distance mates and/or angle mates specifically?
Yes. Those are the two I was using today.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
josh
Posts: 295
Joined: Thu Mar 11, 2021 1:05 pm
Answers: 16
x 22
x 508

Re: Equations when creating mates

Unread post by josh »

I don't have any idea what the implementation plan was beyond the fact that it had to be done on a feature-by-feature basis. I dunno if an ER/SPR specifically requesting mates be added to this would speed it up or not.
User avatar
Glenn Schroeder
Posts: 1521
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1759
x 2130

Re: Equations when creating mates

Unread post by Glenn Schroeder »

As I'm sure you know, we can link to global variables directly in the property manager for some features and operations, and they have promised to add more, but I don't remember any new ones being added in recent years.
SPerman wrote: Wed May 08, 2024 2:39 pm Does anyone know if Solidworks is ever going to allow you to use equations when creating mates? It is a bunch of extra work to create the dimension. Then go and double click the dimension so you can point it to the variable. (And that step usually requires multiple attempts, because double clicking the wrong thing only lets you change the value, not enter the equation.)

I think someone (Josh maybe) said several years ago that they would be adding this functionality across the board over time, but that doesn't appear to be the case. Have they abandoned this for all the new bells and whistles?
Turning off Instant3D will fix that. You will need to do a rebuild after linking to the variable after doing so, but it eliminates the problem of getting just the box to change the value instead of the full dimension dialog box.

By the way, I like Instant3D, and keep it turned on, but I will occasionally turn it off temporarily in situations like this.
"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"
User avatar
SPerman
Posts: 2055
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2225
x 1876
Contact:

Re: Equations when creating mates

Unread post by SPerman »

I figured out that I can just paste the value ("=Foo") when I get the text box only, which is quicker than using the dropdown. You can also paste into the window with the dropdown. You can't paste the value in the property manager. It gives you a messages stating "please enter a number..."

ETA:
I did some research into instant 3d, and do not see anything I typically use. I went to turn it off, but it appears to only be available through the command manager, and I must have deleted that button.
image.png
image.png (4.34 KiB) Viewed 4273 times
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Glenn Schroeder
Posts: 1521
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1759
x 2130

Re: Equations when creating mates

Unread post by Glenn Schroeder »

SPerman wrote: Wed May 08, 2024 4:21 pm ETA:
I did some research into instant 3d, and do not see anything I typically use. I went to turn it off, but it appears to only be available through the command manager, and I must have deleted that button.
image.png
You might be able to turn it off and on with a keyboard shortcut. I haven't tried it, but it looks like it would work.

image.png
"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"
User avatar
AlexLachance
Posts: 2184
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2364
x 2013

Re: Equations when creating mates

Unread post by AlexLachance »

SPerman wrote: Wed May 08, 2024 4:21 pm I figured out that I can just paste the value ("=Foo") when I get the text box only, which is quicker than using the dropdown. You can also paste into the window with the dropdown. You can't paste the value in the property manager. It gives you a messages stating "please enter a number..."

ETA:
I did some research into instant 3d, and do not see anything I typically use. I went to turn it off, but it appears to only be available through the command manager, and I must have deleted that button.
image.png
Warning, frenchness ahead
image.png
User avatar
SPerman
Posts: 2055
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2225
x 1876
Contact:

Re: Equations when creating mates

Unread post by SPerman »

I've customized the UI quite a bit, so I've made that button go away at some point.

After further investigation, I do use instant 3d to edit sketch dimensions without editing the sketch. (At least I think that is an instant 3d function. The example they shown on the help site emphasises grabbing and dragging, which i don't do. Maybe it is because I started with autocad, but I like entering discrete values, not dragging a face until it looks good.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Frederick_Law
Posts: 1947
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1638
x 1470

Re: Equations when creating mates

Unread post by Frederick_Law »

SPerman wrote: Thu May 09, 2024 10:02 am The example they shown on the help site emphasises grabbing and dragging, which i don't do.
What increment do we need? 0.001 in"? Get close and enter the number? :roll:
I think that'll be difficult with my gaming mouse.
User avatar
Frederick_Law
Posts: 1947
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1638
x 1470

Re: Equations when creating mates

Unread post by Frederick_Law »

Some dialog box allow simple math operations which looks like equation.
The box only remember the result value, not the "equation".
imaca101
Posts: 12
Joined: Wed Oct 25, 2023 10:06 pm
Answers: 0
x 8

Re: Equations when creating mates

Unread post by imaca101 »

SPerman wrote: Thu May 09, 2024 10:02 am I've customized the UI quite a bit, so I've made that button go away at some point.

After further investigation, I do use instant 3d to edit sketch dimensions without editing the sketch. (At least I think that is an instant 3d function. The example they shown on the help site emphasises grabbing and dragging, which i don't do. Maybe it is because I started with autocad, but I like entering discrete values, not dragging a face until it looks good.
You don't need instant 3d to do that, if you want to turn it off (or on) just drag the button onto a toolbar temporarily. It's on by default and I am personally not a fan, so always turn off when setting up a new install.
image.png
Post Reply