Someone asked on Reddit for a solution to change the hole call out with instances at the end (like below picture. Since there is no direct way, I made a macro to do it. Sharing it if anyone wants to try/use.
Zip file contains macro and macro button BMP file.
Edit: Fixed the macro for single qty hole call out.
Macro to Change Hole Call Out Format
Macro to Change Hole Call Out Format
- Attachments
-
- Change Hole Call Out Format (SW2022).zip
- (19.21 KiB) Downloaded 76 times
Deepak Gupta
SOLIDWORKS Consultant/Blogger
SOLIDWORKS Consultant/Blogger
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: Macro to Change Hole Call Out Format
Nice Deepak!,
Just curious, could this be changed in the calloutformat.txt file to have all holes shown that way? It's been so long since I messed with it but IIRC if you change it there then it should update all holes, correct?
Just curious, could this be changed in the calloutformat.txt file to have all holes shown that way? It's been so long since I messed with it but IIRC if you change it there then it should update all holes, correct?
Re: Macro to Change Hole Call Out Format
Unfortunately the instance count position is not controlled by the calloutformat.txt file but it hard codes. So macro is basically moving the instance count to end of the hole call out in the drawing. In case of any changes in the hole (size, qty, etc.), the call out will update and so will be the qty.mattpeneguy wrote: ↑Thu Apr 07, 2022 1:39 pm Nice Deepak!,
Just curious, could this be changed in the calloutformat.txt file to have all holes shown that way? It's been so long since I messed with it but IIRC if you change it there then it should update all holes, correct?
Deepak Gupta
SOLIDWORKS Consultant/Blogger
SOLIDWORKS Consultant/Blogger
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: Macro to Change Hole Call Out Format
Hmm...You had to make that correction over at Reddit, too. Sorry I should have read over there before posting that. Thanks for clarifying.gupta9665 wrote: ↑Fri Apr 08, 2022 12:56 am Unfortunately the instance count position is not controlled by the calloutformat.txt file but it hard codes. So macro is basically moving the instance count to end of the hole call out in the drawing. In case of any changes in the hole (size, qty, etc.), the call out will update and so will be the qty.
BTW, I don't see the zip file in your OP (am I missing something?). Over at Reddit you provide a link to 3DSwym and maybe the file is there. But, I'm guessing most of those Reddit people don't have accounts. But, they can view posts here without an account though. So could you post it here?
Re: Macro to Change Hole Call Out Format
I had posted the file at both locations so that users can download from either location.mattpeneguy wrote: ↑Fri Apr 08, 2022 8:44 am Over at Reddit you provide a link to 3DSwym and maybe the file is there. But, I'm guessing most of those Reddit people don't have accounts. But, they can view posts here without an account though. So could you post it here?
Seems like I forgot to reload the updated macro here, added now. Thank you for pointing that out.
Deepak Gupta
SOLIDWORKS Consultant/Blogger
SOLIDWORKS Consultant/Blogger
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: Macro to Change Hole Call Out Format
Thanks Deepak!