要输出成 html 文件, 按如下步骤: 9 S9 Y( M N8 f0 t
1.从ugcast150/cast150_parts/UGweb下拷备base_5.htt及comp.htt到该装配目录下,修改base_5.htt 文件:
. s0 S4 w8 p2 P将 <@UGSHADE FILE="assy_damper_cap_lower.jpg" X="215" Y="185"改为 <@UGSHADE FILE="d:\webdemo\airpipe_assm.jpg" X="215" Y="185"+ U) R- q2 O2 W8 T- f0 R: ^
将 <P><IMG BORDER=2 WIDTH=215 HEIGHT=185 SRC="assy_damper_cap_lower.jpg"改为 <P><IMG BORDER=2 WIDTH=215 HEIGHT=185 SRC="airpipe_assm.jpg"
" q1 G& l8 u, j; d2.在你的装配目录下创建子目录/images,拷备Ugcast150/cast150_parts/ugweb 路径下所有的 *.gif 文件到 images 路径下, L$ b; K9 _: [: q6 @9 b
3.在UG里,调出整个装配之后(work part在装配件上),选择web- Author HTML, & `2 k$ A) V# W
4.选择Apply to Each Component, 选择Select Template , 给comp.htt,Apply 5. 选择 Apply to Assembly, 选择 Select Template , 给base_5.htt, Apply) |) b/ G3 v1 H9 D/ V. J
2 [' `6 k' i" {) w& K1 U6 _6.在你的装配目录下, 自动生成 一系列 html 文件及一系列 jpg 文件
0 _, a6 v, X& k, q6 I7 u7.在你的装配目录下, 点击 装配件名.htm, 可用 IE 或 Netscape 浏览
) K' Q0 A+ J$ {# N' x
4 `* b' [; P6 A2 l4 f" E |