Page 1 of 1

How to attach a note to a dimension

Posted: Sun Oct 06, 2024 8:02 pm
by Tera
In a drawing, I need to add a note to a hole callout dimension. Somehow that if I drag the dimension, the note moves with it too.

In a dimension that is added with "Smart Dimension", dimension property sheet gives me upper/lower dimension text, where I can add some note in the lower side of the dimension.
I need to do the same thing for a hole callout dimension. Is it possible?

I can attach a note to a view, but wasn't able to find a way to attach it to a dimension.

Any kind of advice is appreciated.
thanks.

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 2:42 am
by gupta9665
You can type the desired text in the dimension property manager. I had been doing this since a long time.
Hole Callout.png

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 3:36 am
by Tera
gupta9665 wrote: Mon Oct 07, 2024 2:42 am You can type the desired text in the dimension property manager. I had been doing this since a long time.

Hole Callout.png
Thanks for your time, but I'm aware of it.
As your image shows, it all goes to above the dimension line.
I just want to have an effect like when I add a dimension with smart dimension. The dimension can be put above the line and the note bellow the line. Since hole callouts doesn't have a lower textbox in dimension property, I was trying to use a note instead and lock it's position with the hole callout dimension.
.
2024-10-07_16-38-49.png
2024-10-07_16-38-49.png (6.62 KiB) Viewed 942 times
Thanks.

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 3:53 am
by gupta9665
You can place a note below the dimension line, and then can group the hole callout and that note.

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 5:00 am
by Tera
gupta9665 wrote: Mon Oct 07, 2024 3:53 am You can place a note below the dimension line, and then can group the hole callout and that note.
Sorry for acting stupid. When I ctrl select a hole callout and a note, the right context menu has a lot of options. The only two that seems to be a possible solution is "Merge Annotation" and "Make Block", which I've already tested them and it doesn't do what I'm looking for.
How can I group a dimension and a note? I can't see anything that can group them in my context menu.

Thanks again.

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 6:20 am
by gupta9665
Make sure the Note is attached to the view in which you have the hole callout. And only then group option will show up.

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 8:11 am
by AlexLachance
Tera wrote: Mon Oct 07, 2024 5:00 am Sorry for acting stupid. When I ctrl select a hole callout and a note, the right context menu has a lot of options. The only two that seems to be a possible solution is "Merge Annotation" and "Make Block", which I've already tested them and it doesn't do what I'm looking for.
How can I group a dimension and a note? I can't see anything that can group them in my context menu.

Thanks again.
Sorry for the frenchness
image.png

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 4:34 pm
by Dwight
I find that grouping a note and dimension does not work well. If you move one, the other one follows along only approximately and falls out of alignment.

Dwight

Re: How to attach a note to a dimension

Posted: Mon Oct 07, 2024 7:39 pm
by Tera
Sometimes I think those who program SW, never use it themselves and have no clue how a designer need a software to be.
Well, I was able to group a note with a hole callout per given advices, but as @Dwight had warned, it sucks.
Before moving the dimension:
2024-10-08_08-31-13.png
2024-10-08_08-31-13.png (13.75 KiB) Viewed 723 times
.
.
After moving the dimension :
2024-10-08_08-32-54.png
2024-10-08_08-32-54.png (14.01 KiB) Viewed 723 times
.

Thanks to all for the advices.

Re: How to attach a note to a dimension

Posted: Tue Oct 08, 2024 11:41 am
by randyss
This is what I do:
Screenshot 2024-10-08 083847.png

Re: How to attach a note to a dimension

Posted: Tue Oct 08, 2024 12:13 pm
by josh
Yes, grouping is rather broken. I wrote a macro for a customer that wanted some special grouped notes... I had to write a "fix all" routine that would go find all the groups and fix their position when they got out of whack.

Re: How to attach a note to a dimension

Posted: Tue Oct 08, 2024 2:12 pm
by DanPihlaja
josh wrote: Tue Oct 08, 2024 12:13 pm Yes, grouping is rather broken. I wrote a macro for a customer that wanted some special grouped notes... I had to write a "fix all" routine that would go find all the groups and fix their position when they got out of whack.
Here I am, thinking that I am a pretty good Solidworks user, and then @josh goes and drops a gem like that in, and completely massacres my pride and arrogance.... LOL

UU

Re: How to attach a note to a dimension

Posted: Wed Oct 09, 2024 11:11 am
by Dwight
josh wrote: Tue Oct 08, 2024 12:13 pm . . . fix their position when they got out of whack.
"Fix" like "repair" or "fix" like "make stationary"? I can't picture what this is.

Thanks

Dwight

Re: How to attach a note to a dimension

Posted: Wed Oct 09, 2024 1:24 pm
by AlexLachance
Dwight wrote: Wed Oct 09, 2024 11:11 am "Fix" like "repair" or "fix" like "make stationary"? I can't picture what this is.

Thanks

Dwight
Fix like place it as it were previously I imagine, though like you, I have a hard time picturing how that would be possible but then again I'm not a programmer.

Re: How to attach a note to a dimension

Posted: Wed Oct 09, 2024 2:00 pm
by josh
Repair the position.... My macro made multiple different notes and grouped them together, calculating their position relative to the "main" note. The groups mostly worked OK, but certain things like changing the drawing scale would completely screw up the relative positions, and the only way to re-position was to un-group, move the note, then re-group. All of the notes that made up the group got named with a special name and serial number during creation by the macro, so all I had to do was iterate through all the notes, find any that had the special name, and re-calculate their new position relative to the "main" note.

Re: How to attach a note to a dimension

Posted: Thu Oct 10, 2024 5:57 am
by Dwight
Josh

When you say the "main" note, that's something the macro assigned, not Solidworks. Or is there a main note in a Solidworks group?

Thanks

Dwight

Re: How to attach a note to a dimension

Posted: Thu Oct 10, 2024 9:04 am
by josh
It was something the macro assigned. Notes have a "name" property that you can modify using the API. All of the notes in the group were created by the macro, so (if recall correctly) they were all named with a format sort of like

[common prefix for all notes created by the macro][designator for which group member this is][serial number for this group]

"Main" was one of the designators. The serial number for the group was just a timestamp for when the "main" note for the group was created. The macro would just find all the notes with the same common prefix and serial number, then reposition the "child" notes to their proper location relative to the "main" note.