Dimension Auto-Text
Dimension Auto-Text
(OP)
Is there a way to change dimensioning auto-text?
i.e. Change the callout for holes made with a "Through All" definition to say "THRU" instead of "THRU ALL" when dimensioning in drawing (as it does when you create the hole using "Up to Next")
i.e. Change the callout for holes made with a "Through All" definition to say "THRU" instead of "THRU ALL" when dimensioning in drawing (as it does when you create the hole using "Up to Next")






RE: Dimension Auto-Text
Regards,
Scott Baugh, CSWP
www.scottjbaugh.com
FAQ731-376
RE: Dimension Auto-Text
I know you are very knowledgable with this stuff, but as best I can tell it appears that in the calloutformat.txt file there are only variable driven formats. I am wondering if the variables themselves look for values in the hole features. Is there a database or something that defines the hole features that would contain values to assign to these variables?
I'll keep looking where you said, and maybe I am missing something, but I thought I would throw that out there initially.
Thanks again
Mike
RE: Dimension Auto-Text
This is controlled globally in tools\options as dimension font (I believe) you can't just control the text for a portion of the dimension is either all or nothing.
Regards,
Scott Baugh, CSWP
www.scottjbaugh.com
FAQ731-376
RE: Dimension Auto-Text
"I think there is a world market for maybe five computers."
Thomas Watson, chairman of IBM, 1943.
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?
RE: Dimension Auto-Text
"THRU" AND "THRU ALL" are different things. If you need a through hole, you model a "THRU" hole using "Hole Wizard" on your model. If you need a through-all hole, you model a "THRU ALL" hole using "Hole Wizard" on your model.
There is no reason for you to change this hole callout. When you see a "THRU" hole, that is because you modelled it as a "THRU" hole. Likewise, when you see a "THRU ALL" hole, that is because you modelled it as a "THRU ALL" hole.
Alex
RE: Dimension Auto-Text
The options I get using the SW05 & earlier Hole Wizard are:-
Blind
Through All
Up to Next
Up to Vertex
Up to Surface
Offset from Surface
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: Dimension Auto-Text
You're thinking of "TYP" or"TYPICAL."
ASME Y14.5M-1994, para 1.8.9 refers to "THRU:"
"Where it is not clear that a hole goes through, the abbreviation THRU follows a dimension."
RE: Dimension Auto-Text
Alex
RE: Dimension Auto-Text
For example, if I have a tube and I want to put a hole thru both walls, for ease, I give the "Through All" End Condition. That will give me a "Thru All" callout. But I want "Thru" callout. To get "Thru" callout, I have to use "Up to Next" as End Condition which will stop the hole after the first wall; not what I want. Now I am no draftsmen and do not know all the rules and maybe in that situation it is the correct way to call things out, but not all companies need to follow all drafting standards strictly. I would rather have the "Thru" show up as a default and add any clarifiers from there, such as "All", "Near and Far Walls", etc, whether correct drafting or not.
Basically what I want to know is if I can access the area that assigns "THRU ALL" to the <hw-thru> code/variable.
I appreciate all help, the long reply is to try to clarify what I am trying to do and explain our specific paradigm here.
Thanks,
Mike
RE: Dimension Auto-Text
When you use SW, it is better to use SW way (SW software design intent), rather than force it to do your way. "THRU" is through a single wall, while "THRU ALL" is through multiple walls (including single wall).
But that is wrong way, according my humble oppinion. If you REALLY REALLY want to do it, then just do as SBaugh mentioned above. Open "C:\Program Files\SolidWorks\lang\english\calloutformat.txt
" (assuming you are using English version) and edit this huge script file. This file controls your hole callout format in addition to other stuff.
Good Luck!
Alex
RE: Dimension Auto-Text
** PLAIN HOLES **
HOLE-BLIND=;<MOD-DIAM> <hw-diam> <HOLE-DEPTH> <hw-depth>
*with nearside csink*
HOLE-BLIND(csns)=;<MOD-DIAM> <hw-diam> <HOLE-DEPTH> <hw-depth>;\
<HOLE-SINK><MOD-DIAM> <hw-nscsdia> X <hw-nscsang>, <hw-msgnearside>
HOLE-THRU=;<MOD-DIAM> <hw-diam> <hw-thru>
*with farside csink*
HOLE-THRU(csfs)=;<MOD-DIAM> <hw-diam> <hw-thru>;\
<HOLE-SINK><MOD-DIAM> <hw-fscsdia> X <hw-fscsang>, <hw-msgfarside>
*with nearside csink*
HOLE-THRU(csns)=;<MOD-DIAM> <hw-diam> <hw-thru>;\
<HOLE-SINK><MOD-DIAM> <hw-nscsdia> X <hw-nscsang>, <hw-msgnearside>
*with both csinks*
HOLE-THRU(csnf)=;<MOD-DIAM> <hw-diam> <hw-thru>;\
<HOLE-SINK><MOD-DIAM> <hw-nscsdia> X <hw-nscsang>, <hw-msgnearside>;\
<HOLE-SINK><MOD-DIAM> <hw-fscsdia> X <hw-fscsang>, <hw-msgfarside>
........ does not show any code that might individually address "Up to Next" holes or "Through All" holes. It's either <hw-thru> or <hw-depth>.
When I do a search, I don't find the strings "Thru All" and "Thru" anyhere in this file which makes me think there is something in the hole feature itself that defines <hw-thru> as "Thru" or "Thru All" whether is is an "Up to Next" or "Through All" hole respectively.
Please let me know if I am missing something here.
Thanks,
Mike
RE: Dimension Auto-Text
Flores
SW06 SP1.0
RE: Dimension Auto-Text
open a drawing that has a Callout already in it. Highlight it and in the Property Manager under "Dimension Text" select Varaibles. There you will get a list of all available Varaibles.
I hope that helps,
Scott Baugh, CSWP
www.scottjbaugh.com
FAQ731-376
RE: Dimension Auto-Text
If you replace <hw-thru> with "THRU" (excluding quotation marks), you will see "THRU" on a "THRU ALL" hole.
Alex
RE: Dimension Auto-Text
Thanks,
Mike