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.

Register Log in

dimensioning

sbpanda

New member
Dear freinds


can u pl tell me how to the dimensioning as followws:


R1 not R1.00


0.60 not .6


12.00 not 12


3.0 degree not 3.00 degree


regards
 

robertib

Member
Highlight each dimension, right-click and go to properties. You can set the number of decimal places on the first tab, or you can go to the second tab and add [.#] after the &D, where # is the number of decimal places - I haven't tried the second option but it should work.
 

sbpanda

New member
I know the ..rihgt click--properties method


but is there any option in dtl file to set it permanently.


regards
 

robertib

Member
Not for each individual dimension - you can set a global number of decimal places (the settings are


default_dec_places for non-angular dimensions &


default_ang_dec_places for angular dims).


This is also from the help files:-
<H3 =Topic-Text>To Set the Decimal Places for Existing Dimensions</H3>

  1. <LI =kadov-p-CTopic-Text-Numbered>
    Select the dimension or note with numeric text. Press CTRL or use region selection for multiple selections.
    <LI =kadov-p-CTopic-Text-Numbered>
    You can set the decimal places and trailing zeros in either of the following ways:
    <LI =kadov-p-CTopic-Text-Bulleted>
    Right-click on the selected dimensions and click Properties or click Edit > Properties. The Dimension Properties dialog box opens.</LI>
On the Properties tab, under Format, click Decimal and then type a value in the Number of decimal places box.
<UL>
<LI =kadov-p-CTopic-Text-Bulleted>
Click Format > Decimal Places. You are prompted to type a number of decimal places. </LI>[/list]
Type a value and press ENTER. Any dimensions selected, created or shown display with the designated number of decimal places and trailing zeros.
<H3>To Set the Decimal Places Prior to Displaying Dimensions</H3>

  1. <LI =kadov-p-CTopic-Text-Numbered>
    Click Format > Decimal Places. You are prompted to type a number of decimal places.
    <LI =kadov-p-CTopic-Text-Numbered>
    Type a value and press ENTER. Any dimensions created or shown display with the designated number of decimal places and trailing zeros. </LI>
 

sivaraman_45

New member
hi


If youruse the Format Decimal Places, you can fix the no of decimal places for all the Dimension.


From your questionI understand that,there shouldnot be any trailing zeros even if you set the default no of decimal places set to 2 or so..


Try this


In Drwing Options, Set "lead_trail_zerosvalue to "std_default" option


and if you want to controltolarance value also.. change this option


Lead_trail_zero_scope value to "all"


Give me an reply if you got the answer
Edited by: sivaraman_45
 

sbpanda

New member
Everything os ok instead of R1.00 i want R1, that i dont want to set it by right click--then properties--then no of digit to `0'.


i want a permanent solution, to every time the drawing format should be like that.


Everything is ok , instead of R1.00 i want R1, & rest of all are ok


regards





View attachment 1076
 

PhilC

New member
use map keys copy and paste below all you have to do is highlight the dimension and hit 0 for x. 1 for .x 2 for .xx 3 for .xxx 4 for .xxxx 5 for .xxxxx, you can highlight multiple dimension


exp.


mapkey 0 @MAPKEY_LABELX.;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `0`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;_ok`;
mapkey 1 @MAPKEY_LABEL.X;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `1`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;_ok`;
mapkey 2 @MAPKEY_LABEL.XX;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `2`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;ok`;
mapkey 3 @MAPKEY_LABEL.XXX;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `3`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;k`;
mapkey 4 @MAPKEY_LABEL.XXXX;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `4`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;`;
mapkey 5 @MAPKEY_LABEL.XXXXX;~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_nom_value`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `5`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;`;

















You can also you mapkeys for tolerence control ex. (t42) t=tolerence,4=.xxxx3+_.0001(2 is overall tolerence


example


mapkey t42 @MAPKEY_LABEL.XXXX +-1;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_num_dig` `4`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_ansi_upper_tol` `0.0001`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_upper_tol`;\
mapkey(continued) ~ Update `mod_dim_asynch` `inp_ansi_lower_tol` `0.0001`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_ansi_lower_tol`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `inp_num_dig`;\
mapkey(continued) ~ Select `mod_dim_asynch` `opt_tol_mode`1 `LLimits`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;






you can also use for note example put typ in a dim. with out entering the property box highlight and type TYP , note good ideal to create pull down menus with these make it so you just click on typ instead of type. you can use this methode to put () areound dim. and even creation of notes for threaded, c'bore, and c'sink notes. if you would like anymore examples or mapkeys of these kinds post your email address and I will send a file to you.





mapkey typ @MAPKEY_LABElTYP.;~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Edit`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Edit.psh_dwg_props`;\
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` `@D TYP.`;\
mapkey(continued) ~ FocusOut `mod_dim_asynch` `txt_dim_text`;\
mapkey(continued) ~ Activate `mod_dim_asynch` `psh_ok`;
 

Sponsor

Top