|
|
发表于 2011-3-25 22:22:47
|
显示全部楼层
来自: 中国广东深圳
第一:只进行单位转换,保证实际长度一致
: s; ^7 {( U" y
# @& `# U+ C# B2 @% n1.开始->程序->unigraphics NX->unigraphics tools->ug command prompt
4 @! Z* N0 h- U$ B# e2. cd d:\eds\ugnx\ugii
5 Y' L6 z2 A% S& u3. ug_convert_part -mm d:\*.prt当然,进行上面操作时,不要用UG打开*.prt,操作完成后再打开,可以看到单位已经转换。
2 L9 n9 t8 R2 y2 C* }* W4 c
. e7 g; M0 S" d" E$ v: l第二:进行单位转换,保证数值一致,实际长度自动放缩
$ B& K$ v1 b' j4 I2 G7 K/ D& N, _: ? [6 @" l( o9 }, g
1. 用UG打开*.prt,进入modeling 0 O+ b, w+ D1 a6 K" k$ S
2.tools->expression->export,生产*.exp文件,然后close *.prt ; |$ c# V* @7 N; }! U
3.开始->程序->unigraphics NX->unigraphics tools->ug command prompt
, i2 E1 i. @" ~4. cd d:\eds\ugnx\ugii
1 r$ {1 p2 I" d+ f0 {+ b5. ug_convert_part -mm d:\*.prt
: t3 K! U. V* @$ U0 A* w5 l8 w6. 用UG重新open *.prt,进入modeling
; Z+ @ E. v" [; ]; K% C4 L/ T ?7. tools->expression->import,选择replace existing 选项。
9 c: V# `# D; I4 C
8 b; O8 l4 A! ~0 h3 a- qok,到此全部完成。 9 T( R' e' o% K G
如果要实现从毫米转换到英寸,只需要把-mm 改为-in |
|