"图纸管理"是CAXA电子图板2000新增功能之一,它以数据库的形式,将图形文件和各种文档文件有效地管理起来,并且提供了各种图形检索手段,还有自动生成统计报表,根据零件图自动填写产品图或部件图的明细表等功能。最近,不少用户来信要求我们系统的介绍一下图纸管理功能的使用。为了满足广大用户的要求,我们将在《CAXA通讯》中分期对此项功能的使用做
一详细的说明。
首先,我们先介绍一下数据库的建立。新建数据库大致可分为以下三步:
一. 绘制图形。
绘制图形包括绘制产品图,部件图和零件图。这三种图形的有无是由实际需要决定的。比如:在工件中不需要部件图,那么您就只要绘制产品图和零件图即可。如果您想把以前绘制的图纸加入到即将新建的数据库中,那么这一步骤就可以省略了。
不管是以前绘制的图纸还是现在绘制的图纸,都必须符合以下要求:
1. 零件、部件图文件中的内容只能是产品明细表中的零件或部件。
2. 绘制的产品图、部件图和零件图必须使用相应的产品标题栏,部件标题栏零件标题栏。
3. 零件、部件图的编号必须和产品明细表中的编号保持一致
4. 对于电子图板97、98中绘制的图纸,需要在电子图板2000中更换相应的标题栏,并存成
电子图板2000格式的文件。如:原来的产品图需要更换产品标题栏和重新编写明细表,零件图则只需更换零件标题栏。然后,更改标题栏内的内容,使零件或部件图中标提栏的内容和产品图中的明细表保持一致
二. 命名新数据库。
即给您想建立的数据库起个名字。
三. 向数据库中填加绘制图形。
它的作用是将您绘制的图形加入到数据库中。可按以下三个步骤进行:
1. 在数据库中建立项目
2. 向项目中添加产品
3. 向产品中添加零件、部件
下面举例说明数据库ABC的建立。
1.绘制图形
依次绘制产品图A01,零件图A01-1,A01-2,A01-3。
注:
1) 产品图必须使用产品标题栏,零件图必须使用零件标题栏。(您可以使用系统提供的相应的标准模板,也可以使用自定义的标题栏,但是,您所选用的标题栏的属性必须与图纸的属性相对应。至于如何自定义标题栏,我们将在下一期《CAXA通讯》中作详细的介绍)
2) 零件、部件图的编号必须和产品明细表中的编号保持一致。如图所示,图A01的产品明细表中零件1的代号为A01-1,则相应的零件图的编号应该为A01-1
<img src="attachments/dvbbs/200381911183772432.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/200381911183772432.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
2.命名新建数据库
点取"管理"菜单中的"新建数据库",出现新建数据库对话框。在对话框中给出数据库的路径和数据库的名称。(如"D:\ABC"表示在D盘根目录上建立了一个名为ABC的数据库)新建立的数据库将成为系统打开的数据库。
<img src="attachments/dvbbs/200381911191892465.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/200381911191892465.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
3.向数据库中填加绘制图形
(1) 增加项目
点取"管理"中的"数据浏览",出现数据浏览对话框。在项目列表上单击鼠标右键,弹出菜单,选择增加项目,弹出增加项目对话框。输入项目名称和项目代号后关闭对话框,增加项目就完成了。
<img src="attachments/dvbbs/200381911194396382.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/200381911194396382.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
(2) 增加产品
在项目project02上单击鼠标右键,弹出菜单选择增加产品,在对话框中输入产品图文件的路径及名称,在关闭对话框后,系统将自动把产品图中的标题栏和明细栏信息输入到数据库中,如果产品中包含有部件,那么系统还将提示输入相应部件图的文件名称。
<img src="attachments/dvbbs/20038191120299447.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/20038191120299447.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
(3) 向产品中增加零件
在数据浏览对话框中用鼠标左键选中需要增加零件的产品,单击鼠标右键弹出菜单(如图所示)。点取"增加零件"菜单,弹出输入文件名称对话框,在对话框中输入零件的文件的路径及名称,关闭对话框后,零件就增加上了。"数据浏览"对话框中的右侧出现加入的零件文件名
<img src="attachments/dvbbs/200381911203297107.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/200381911203297107.gif\');}" onmousewheel="return imgzoom(this);" alt="" />
至此,新数据库ABC建立完成。 |