首页 | 本学科首页   官方微博 | 高级检索  
     

基于VBA的AutoCAD图形到Intouch组态画面的转换
引用本文:刘继超,史迎春,邵芬红.基于VBA的AutoCAD图形到Intouch组态画面的转换[J].微计算机信息,2012(6):46-48.
作者姓名:刘继超  史迎春  邵芬红
作者单位:北京化工大学北方学院信息学院
摘    要:本文研究了将AutoCAD图形画面直接转换成InTouch组态画面的可行性,并最终实现了这一转换。通过研究Intouch组态画面文件,获得了它的存储格式和它所存储数据的组织方式。结合AutoCAD中引入的ActiveX Automation技术,使用AutoCAD内置的VBA开发工具编写转换程序。通过运行转换程序,能够将AutoCAD中的基本图形转换到Intouch组态画面中,转换效果比较好。研究表明,利用AutoCAD VBA程序开发技术可以实现AutoCAD图形画面到InTouch组态画面的快速转换,为实际自动化工程中组态画面的迅速绘制提供了较好的工具。

关 键 词:AutoCAD  ActiveX  VBA  组态  Intouch

Based on VBA of AutoCAD Drawings conversion to Intouch configuration graphics
North College of Beijing University of Chemical Technology,Information Institute Hebei,China LIU Ji-chao SHI Ying-chun SHAO Fen-hong.Based on VBA of AutoCAD Drawings conversion to Intouch configuration graphics[J].Control & Automation,2012(6):46-48.
Authors:North College of Beijing University of Chemical Technology  Information Institute Hebei  China LIU Ji-chao SHI Ying-chun SHAO Fen-hong
Affiliation:(North College of Beijing University of Chemical Technology,Information Institute Hebei 065201,China) LIU Ji-chao SHI Ying-chun SHAO Fen-hong
Abstract:This article studies the feasibility of the AutoCAD graphic images converting InTouch configuration images,and finally accomplish this transformation.By studying InTouch configuration images files,found its storage format and organizational pattern.Combine AutoCAD ActiveX Automation technology,use the built-in Vba development tool to write conversion program,use the built-in VBA of AutoCAD development tools to write conversion program.By running the program,can convert AutoCAD basic shapes in to InTouch configuration images,and conversion effect is better.Research shows that AutoCAD VBA program development technology can achieve the the fast conversion of AutoCAD graphic images to InTouch configuration pictures,it is a fast-draw tool for the actual automation engineering configuration screen.
Keywords:AutoCAD  ActiveX  VBA  Configuration  Intouch
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号