Is there a way to program a dimension radius / diameter toggle shortcut?

Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Mike Gera »

In an .SLDPRT sketch, is there a way to program a shortcut key that toggles a dimension between radius and diameter mode?

Currently, I use the mouse to select the appropriate option in the Leader tab.

I do this many times a day. It would be great to be able to do it faster.

Thanks for any help.
by gupta9665 » Sun Oct 03, 2021 12:27 am Go to full post
SW 2022 SP 5.0
Windows 11
MJuric
Posts: 1067
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
x 31
x 873

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by MJuric »

Place the dim. Hover over the dim RMB, "Display as Radius/Dia"
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Mike Gera »

Thanks!

Faster, but not quite as fast as keyboard fast.

Appreciate it, though.
SW 2022 SP 5.0
Windows 11
User avatar
jcapriotti
Posts: 1798
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1138
x 1945

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by jcapriotti »

Just saw this in 2022, these are the worthwhile enhancements that are sure to get applause in a full room of SolidWorks users, not the nebulous cloud stuff that usually gets pushed on us.
image.png
Jason
User avatar
Lucas
Posts: 227
Joined: Tue Jun 15, 2021 3:46 am
Answers: 2
Location: Osaka, JP
x 175
x 170

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Lucas »

Its also possible to change on the Leaders tab. But if you want super fast probably a Macro
image.png
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Mike Gera »

I need to get up-to-speed on macro creation.
SW 2022 SP 5.0
Windows 11
User avatar
CADNurd
Posts: 28
Joined: Mon Jul 19, 2021 6:16 am
Answers: 0
x 11
x 31

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by CADNurd »

Mike Gera wrote: Fri Oct 01, 2021 8:11 pm I need to get up-to-speed on macro creation.
I had a go at recording that sequence of events - turning diameter into radius - using the basic built-in macro recorder. Long-story-short, I'm pretty sure the recorder doesn't recognize/record those particular actions. Might be possible if you learn some coding and edit the swp file manually. My learning has yet to take me as far as that. I'd be interested in seeing a working macro for this, if someone else has those skills.
User avatar
gupta9665
Posts: 361
Joined: Thu Mar 11, 2021 10:20 am
Answers: 20
Location: India
x 387
x 417

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by gupta9665 »

Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
CADNurd
Posts: 28
Joined: Mon Jul 19, 2021 6:16 am
Answers: 0
x 11
x 31

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by CADNurd »

oa
Works perfectly. Many Thanks.

So, with the hard-work now done, we can now just Assign this Macro to a Keyboard Shortcut and OP gets his dream-come-true. :)
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Mike Gera »

Deepak,

This works perfectly. Thanks x 1000!

(You have no idea how many times per week I need to do this.)

-Mike
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 2044
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2197
x 1900

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by AlexLachance »

Deepak, I've said this before and I'll say it again but your contribution is crucial to the SolidWorks community. Thank you for sharing your knowledge and passion.
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is there a way to program a dimension radius / diameter toggle shortcut?

Unread post by Mike Gera »

AlexLachance wrote: Mon Oct 04, 2021 1:58 pm Deepak, I've said this before and I'll say it again but your contribution is crucial to the SolidWorks community. Thank you for sharing your knowledge and passion.
+1
SW 2022 SP 5.0
Windows 11
Post Reply