摘要
作为CAD二次开发工具中比较易学的编程工具,VBA和VLISP各有优点。VLSIP善于直接使用AutoCAD的命令,而VBA用来开发对话框显得简单得多。文中介绍将它们结合起来并成功开发出一个在CAD电子图上拾取坐标生成两种不同格式的测量放线文件程序的简单实例,提出在进行CAD二次开发的过程中,发挥VBA与VLISP各自的优点,通过"中介"CAD系统变量来传递数据信息的方法,把两种程序结合起来开发CAD应用程序。
As CAD secondary Program developing tools, VBA and VLISP are both easy to learn and have THE advantage RESPECTIVELY. VLSIP is good at using the AutoCAD commands, while VBA is good at designing dialog box. A simple program written in VLISP combined with VBA is proposed successfully used to work in surveying and setting out, which need to pick up coordinates to generate two different format of data files on the CAD electronic map. Combining these two programs to develop CAD application program is a not bad thinking way.
出处
《测绘工程》
CSCD
2014年第5期75-77,共3页
Engineering of Surveying and Mapping