摘要
从两个方面对AutoCAD内嵌VBA的功能进行扩展。图形绘制方面,通过两种方式借助绘图功能全面AutoLisp语言:由VBA的SendCommand函数调用AutoLisjp函数;通过封装了VBA和Au-toLisp的接口的VLAX类使用AutoLisp语句。软件开发方面,采用VBA调用Delphi创建的DLL的方式,借助功能强大的Delphi开发工具。
The functions of VBA. embedded in AutoCAD. may be expanded in two aspects. In drawing, it can resort to omnipotent AutoLisp Language by two means; by the SendCommand function, VBA can use AutoLisp functions; through the VLAX ciass, which encapsulates the interfaces between VBA and AutoLisp. VBA can use AutoLisp expression. In developing of software, by means of using DLL bullt in Delphi, VB A can utilize the powerful developing tool. Delphi.
出处
《机械设计与制造》
北大核心
2005年第8期74-76,共3页
Machinery Design & Manufacture