Page 1 of 1

How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 1:53 pm
by bnemec
Why is selecting the midpoint of a line so difficult in SW? I used to be able to center hole patterns quite simply by making two midpoints horizontal or vertical. The only way I know to do that in SW is to add a construction line between the midpoints and make that construction line horizontal. Is there a way to apply sketch relations to midpoints?

Thank you.

Re: how to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 1:58 pm
by SPerman
It's funny you should ask. For years I've made midpoints of my geometry coincident to the primary axis. After my upgrade to windows 11, selecting the midpoints has become almost impossible. Then I found this trick: Right click on the line, and there should be an option for "select midpoint." You might have to expand the menu to show all items.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 2:00 pm
by Glenn Schroeder
For the last several years you have been able to hover your cursor near the midpoint of a line for a few seconds and the midpoint will show up to select. If that doesn't work you can right-click on a line and choose "Select Midpoint."

image.png
image.png

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 2:00 pm
by SPerman
This is the only reference in the help that I can find to the rightclick solution:

https://help.solidworks.com/2022/englis ... points.htm

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 2:23 pm
by AlexLachance
bnemec wrote: Thu Jun 08, 2023 1:53 pm Why is selecting the midpoint of a line so difficult in SW? I used to be able to center hole patterns quite simply by making two midpoints horizontal or vertical. The only way I know to do that in SW is to add a construction line between the midpoints and make that construction line horizontal. Is there a way to apply sketch relations to midpoints?

Thank you.
I have the filter selection bar shown on my interface to be able to quickly toggle the middlepoint filter to facilitate this process. You can always use the right click as some have pointed but I find it less efficient, but that's a personal opinion.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 2:53 pm
by SPerman
Whatever is wrong with my setup, neither the filter or dynamic highlighting work.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 3:29 pm
by AlexLachance
SPerman wrote: Thu Jun 08, 2023 2:53 pm Whatever is wrong with my setup, neither the filter or dynamic highlighting work.
Could you go into detail about what/how you're doing it, perhaps we could figure out what is the cause.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 3:44 pm
by Glenn Schroeder
SPerman wrote: Thu Jun 08, 2023 2:53 pm Whatever is wrong with my setup, neither the filter or dynamic highlighting work.
Is this option turned on? Mine turned itself off one day this week. It doesn't happen nearly as often as it did years ago, but it still happens.

image.png

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 4:53 pm
by SPerman
That was not checked. I will have to test if it fixed it later. I've had a few things change in the UI recently that I don't remember changing.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 6:12 pm
by bnemec
Thank you all. The right click, select midpoint is a good one I forgot about. The filter bar is ok but equally clunky to go up and turn it on IMO. The dynamic highlight was off on my settings and turning that on helped too. Now I can select two midpoints and apply horizontal or vertical relations. I think my dynamic highlight setting used to be on and got turned off at some point. I've tried it with dynamic highlight on and off and when it's on it feels like how SW was a year ago.

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 9:35 pm
by zwei
one thing that i never figure out about (right-click) select midpoint is that it seems like it could not select multiple midpoint in sketch? (or rather it always clear all selection except the midpoint)

Eg: [Right click, Select midpoint] on sketch line 1 → midpoint of line 1 selected → [Right click, Select midpoint] on line 1 → midpoint of line 1 got cleared, midpoint of sketch line 2 is selected

Interestingly... it behave differently in model edge
Eg: [Right click, Select midpoint] on model edge 1 → midpoint of model edge 1 selected → [Right click, Select midpoint] on line 1 → midpoint of model edge 1 AND 2 selected

Re: How to make a midpoint horizontal to another point?

Posted: Thu Jun 08, 2023 10:20 pm
by jcapriotti
bnemec wrote: Thu Jun 08, 2023 6:12 pm Thank you all. The right click, select midpoint is a good one I forgot about. The filter bar is ok but equally clunky to go up and turn it on IMO. The dynamic highlight was off on my settings and turning that on helped too. Now I can select two midpoints and apply horizontal or vertical relations. I think my dynamic highlight setting used to be on and got turned off at some point. I've tried it with dynamic highlight on and off and when it's on it feels like how SW was a year ago.
Do you have a 3d mouse? I've found in the past they temporarily toggle that setting while rotating / panning / zooming then toggle it back on. Sometimes it failed to turn it back on it. Been a few years since I've used one though.

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 8:16 am
by AlexLachance
SPerman wrote: Thu Jun 08, 2023 4:53 pm That was not checked. I will have to test if it fixed it later. I've had a few things change in the UI recently that I don't remember changing.
Here is a macro to turn it on in a click, courtesy of @gupta9665

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 8:30 am
by Glenn Schroeder
bnemec wrote: Thu Jun 08, 2023 6:12 pm . . . I've tried it with dynamic highlight on and off and when it's on it feels like how SW was a year ago.
I don't know why anyone would ever want it off. I assume there's a reason, but I can't imagine what it might be.

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 9:00 am
by AlexLachance
Glenn Schroeder wrote: Fri Jun 09, 2023 8:30 am I don't know why anyone would ever want it off. I assume there's a reason, but I can't imagine what it might be.
There's an intermitent bug that turns it off. I don't really know what causes it but I've had to deal with it ever since I've been on SolidWorks. I have to turn it on every now and then.

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 10:22 am
by XHawkeye
Zhen-Wei Tee wrote: Thu Jun 08, 2023 9:35 pm one thing that i never figure out about (right-click) select midpoint is that it seems like it could not select multiple midpoint in sketch? (or rather it always clear all selection except the midpoint)

Eg: [Right click, Select midpoint] on sketch line 1 → midpoint of line 1 selected → [Right click, Select midpoint] on line 1 → midpoint of line 1 got cleared, midpoint of sketch line 2 is selected

Interestingly... it behave differently in model edge
Eg: [Right click, Select midpoint] on model edge 1 → midpoint of model edge 1 selected → [Right click, Select midpoint] on line 1 → midpoint of model edge 1 AND 2 selected
This should work but doesn't: [Right click, Select midpoint] on sketch line 1 → [hold ctrl] → [Right click, Select midpoint] on sketch line 2

With dynamic highlighting option checked this works: [Right click, Select midpoint] on sketch line 1 → [hold ctrl] → Move cursor over sketch line 2 → Wait for midpoint to appear → click midpoint

or

Move cursor over sketch line 1 → Wait for midpoint to appear → click midpoint → [hold ctrl] → Move cursor over sketch line 2 → Wait for midpoint to appear → click midpoint

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 11:36 am
by Glenn Schroeder
AlexLachance wrote: Fri Jun 09, 2023 9:00 am There's an intermitent bug that turns it off. I don't really know what causes it but I've had to deal with it ever since I've been on SolidWorks. I have to turn it on every now and then.
It's my understanding that it's mostly linked to using a 3d mouse. When you're using the 3d mouse to manipulate the model it's turned off to keep the software from trying to highlight every edge and surface that passes under your cursor. It's supposed to come back on when you stop moving the model, but it doesn't always.

At one time the 3dConnexion and SW folks were pointing fingers at each other when asked why. I don't know how that got resolved, but it's much better now than it was 5 or so years ago.

Re: How to make a midpoint horizontal to another point?

Posted: Fri Jun 09, 2023 11:49 am
by AlexLachance
Glenn Schroeder wrote: Fri Jun 09, 2023 11:36 am It's my understanding that it's mostly linked to using a 3d mouse. When you're using the 3d mouse to manipulate the model it's turned off to keep the software from trying to highlight every edge and surface that passes under your cursor. It's supposed to come back on when you stop moving the model, but it doesn't always.

At one time the 3dConnexion and SW folks were pointing fingers at each other when asked why. I don't know how that got resolved, but it's much better now than it was 5 or so years ago.
It's more then that, I do not use a 3D mouse.