摘要
由于AutoCAD软件无法对DWG图纸进行批量PDF打印和批量DXF另存,因而无法满足企业对CAD图纸进行高效的批量管理的需求。以AutoCAD软件为载体,采用VBA语言和Visual Lisp语言,二次开发出CAD工具箱,实现了DWG图纸的批量PDF打印和批量DXF另存。利用CAD工具箱分别对数量为30、60、90个DWG文件进行批量PDF打印和批量DXF另存操作测试,并分别记录使用和未使用CAD工具箱完成测试所消耗的时间。结果表明:使用CAD工具箱进行DWG图纸进行批量PDF打印和批量DXF另存可以节约时间成本,且随着文件数量的增多,这一趋势更为明显。
Owing to the function that batch PDF printing and batch DXF saving can not be achieved by AutoCAD, which can not meet the high efficiency of CAD drawing management from enterprise. The CAD toolbox was created for batch PDF prints and batch DXF saving. The toolbox was second developed by VBA and Visual lisp language. The function test of CAD tool box was conducted for different quantity DWG files separately,which include 30,60 and 90 files. Besides,the time spend on the test were record separately under the condition which using tool box or not using that. The result showed that time can be saved when using that CAD toolbox for batch PDF prints and batch DXF saving,the trend is more obvious when the quantity of files processed by the tool box increased.
作者
葛禹锡
黄锋
GE Yuxi;HUANG Feng(Autoliv(Shanghai)Vehicle Safety System Technical Center Co.,Ltd.,Shanghai 201800,China;School of Mechanical and Electrical&Automotive Engineering,Huzhou Vocational and Technological College,Huzhou 313000,China)
出处
《机电工程技术》
2019年第10期86-88,207,共4页
Mechanical & Electrical Engineering Technology