|
|
发表于 2011-3-25 22:22:47
|
显示全部楼层
来自: 中国广东深圳
第一:只进行单位转换,保证实际长度一致 0 [, V/ O2 ~) I: Y+ S( q
3 }. U4 v, c2 B- L! w1.开始->程序->unigraphics NX->unigraphics tools->ug command prompt
9 q, D: f$ T! p J5 y2. cd d:\eds\ugnx\ugii $ y3 r1 o: |$ J, G
3. ug_convert_part -mm d:\*.prt当然,进行上面操作时,不要用UG打开*.prt,操作完成后再打开,可以看到单位已经转换。 * a) X- ]. C+ j6 S
1 z* m6 V& [0 e/ r
第二:进行单位转换,保证数值一致,实际长度自动放缩 & Z* ~4 I; O0 Q" h+ }
& W$ t9 t1 Q1 O' D1. 用UG打开*.prt,进入modeling
" B+ m2 E7 N% @2.tools->expression->export,生产*.exp文件,然后close *.prt
- a' o" M" W* i1 V' S3.开始->程序->unigraphics NX->unigraphics tools->ug command prompt 4 d L+ `2 K% N, I; i
4. cd d:\eds\ugnx\ugii ' {* ]' D# @ ~$ |( \
5. ug_convert_part -mm d:\*.prt ) P& C0 E9 x9 I' l+ b/ D0 D
6. 用UG重新open *.prt,进入modeling R4 L2 o0 p% U/ a P; T, S
7. tools->expression->import,选择replace existing 选项。 # q! k! l6 s" q! \% `$ ]
x7 x% E& {8 }+ L9 k
ok,到此全部完成。
5 L0 t/ M$ o& J% ^如果要实现从毫米转换到英寸,只需要把-mm 改为-in |
|