摘要
简述了OLE自动化技术原理,介绍了以C++Builder为编程工具,利用OLE自动化技术实现对三维辅助设计软件AutoCAD二次开发的方法,给出了关键步骤的程序代码。并以绘制变压器铁心叠积图为例,说明该方法可以实现变压器结构图纸的参数化设计,提高了绘图效率。
Simple description was made to OLE automation technology principle, introducing to take C++ Builder as programming tool, using OLE automation technology to achieve the method of the second development for 3D auxiliary design software, giving out key program codes. And taking the drawing of transformer iron core lamination as example, it shows-that the method can achieve transformer structure drawing's parametric design with drawing efficiency raised.