供稿: 陈国强;赵俊伟 | 时间: 2019-05-31 | 次数: |
摘要:针对ActiveXAutomation的概念、工作机制和在AutoCAD14/2000中的对象层次结构,提出用VB来控制AutoCAD进行绘图.通过实例探讨了如何实现在VB中连接到AutoCAD对象并对其进行操作,为AutoCAD的二次开发又提供了新的手段,并为同类软件的开发提供了借鉴.
关键词:ActiveXAutomation;VisualBasic;AutoCAD;对象模型;
分类号:TP391.72
Operating on the AutoCAD14/2000 in VB through ActiveX Automation
Abstract:Aiming at the concept, work mechanism and the layered structure of ActiveX Automation in the AutoCAD14/2000, the way is brought out to draw in the AutoCAD by the controlling in Visual Basic.An example is shown on how to connect to the AutoCAD object and achieve the operation in Visual Basic, which provides a new method for the future development of the AutoCAD.This also sets a good example for development of the similar software.