欢迎访问《金属矿山》杂志官方网站,今天是 分享到:
×

扫码分享

金属矿山 ›› 2014, Vol. 43 ›› Issue (12): 163-168.

• 机电与自动化 • 上一篇    下一篇

基于AutoCAD平台的信息技术在露天矿的开发应用

陈立强   

  1. 中冶集团铜锌有限公司,100028 北京
  • 出版日期:2014-12-15 发布日期:2015-07-23
  • 基金资助:

    * 国家自然科学基金项目(编号:41101068)。

Development and Application of Information Technology Based on AutoCAD Platform in the Open Mine

Chen Liqiang   

  1. MCC Tongsin Resources Co.,Ltd.,Beijing 100028,China
  • Online:2014-12-15 Published:2015-07-23

摘要: 工程中大量的实体对象基本都是以AutoCAD图纸的形式表现出来,露天矿开采也不例外,AutoCAD电子版图纸可以灵活、详细地表现和编辑工程实体对象的各项内容,在生产过程中有着无可替代的作用。但AutoCAD的缺点也是明显的:不能对图形中大量数据信息进行处理。如何利用AutoCAD天然的优势在AutoCAD平台上实现生产管理功能,就是要借助AutoCAD链接外部数据库和其他应用程序,利用它们的数据存储、数据查询、数据处理及数据交换的能力,弥补AutoCAD的缺点,使图形具备智能化。利用AutoCAD平台下的数据库链接功能Dbconnect,通过ActiveX Data Object(ADO)外部数据通信技术和Connectivity Automation Objects(CAO)对象数据库链接技术,结合服务器型数据库SQL的多条件查询、存储数据功能和EXCEL的快捷方便的数据处理能力,编制AutoCAD VBA二次开发程序,实现了某露天矿生产工艺的信息化管理。

关键词: AutoCAD VBA, Excel VBA, SQL, ADO, CAO, 露天矿, 生产管理

Abstract: Abundant entity objects in engineering are basically displayed by the AutoCAD's drawing,including the open-pit mine.AutoCAD electronics drawing can express and edit various contents of engineering entity object vividly and totally.This function can not be substituted in the production process.But the AutoCAD's weakness is also obvious:no ability in dealing with a great deal of data information in the drawing.How to make use of AutoCAD's natural advantage to carry out production management function in the AutoCAD's platform is with aid of AutoCAD linking an external database and other application procedures,and making use of their datum saving,and the ability of the datum search,the datum processing and datum commutation to make up AutoCAD's weakness,and make the drawing intelligent.Dbconnect function about databank link in the platform of AutoCAD is used to design AutoCAD VBA's secondary program for achieving informationizing management in some open pit mine's mining system by the technology of ActiveX Data Object(ADO)and Connectivity Automation Objects(CAO),combining with server SQL of multiple-inquiry,datum storage and EXCEL's advantageous datum treatment ability.

Key words: AutoCAD VBA, Excel VBA, SQL, ADO, CAO, Open-pit mine, Production management