Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

English letter alphabetically show on dim

zeta

New member
When I prepare the product outline drawing, the factory QC suggest me
add english letter before each dimensions. I am using driven dimenions
but not show dimensions. I have to create it one by one, from A to
Z.....

It there a simple way when I create dimension, the english letter added automatically?
 
Some of the letters are reserved by the system. The only way I know to have the dimensions come out from A to Z is to create the dimension while in drawing mode. Select the dimension and goto properties. Change the texy from "@d" to "@oA". This commands tells it to omit the dimension, thus you get "A". This only works for created dimensions. It will not work on driven dimensions.
 
Appinmi... you are close.



As far as I know: yes, you do have to change the name of the dims manually.



After that, you can chage the properties of the dim from &d to $s

The dim will display as whatever name you agve the dim instead of its value.





P.S.: You do this in the model, you can show the dim and it shows
as the name. If you create a dim in the drawing, you can do the
same thing yet retain the value display in the model. Much more robust
method.
 
You could create a set of mapkeys to insert the letter before the dimension.


e.g


mapkeyaa @MAPKEY_NAME A dim text;@MAPKEY_LABELA dim text;\
mapkey(continued) @PAUSE_FOR_SCREEN_PICK;~ Activate `rmb_popup` `DWGProperties`;\
mapkey(continued) ~ Select `mod_dim_asynch` `tab_main`1 `lay_dim_text`;\
mapkey(continued) ~ FocusIn `mod_dim_asynch` `txt_dim_text`;\
mapkey(continued) ~ Update `mod_dim_asynch` `txt_dim_text` `{0:A }{1:mad:D}`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `txt_dim_text`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;





All you have to do then is pick the dimension and the text changes.


Once you have created mapkey aa you can manually edit the config.pro file to create the other mapkeys bb,cc,.....zz. Just change the line


mapkey(continued) ~ Update `mod_dim_asynch` `txt_dim_text` `{0:B }{1:mad:D}`;\


and the mapkey name.


This will only give 26 letters and will tie up double letter mapkeys.
 
Rats... I missed the part where you wanted the dim value as well as the label.



We actually showed just the letter, and then had a table with the
label-value matchup. This made it really simple to document
family tabled parts.



Doing some sort of mapkey to concatenate a prefix before the dim value
seems to be the way to go, although I have an almost religious aversion
to mapkeys.
 

Sponsor

Back
Top