AutoCAD ActiveX #1 安装环境

VBA IDE

Command:VBAIDE
需下载对应年份
http://img2.58codes.com/2024/20137134fF8oYdMVQW.png
http://img2.58codes.com/2024/20137134TopFvrJSbX.png

VBAIDE汇入参考
http://img2.58codes.com/2024/20137134HrRz2feW7Q.png


执行程式

环境设定 & 环境设定

[工具]>[选项 Command:OP]>[档案]>[可信任的位置]

加入VBA资料夹

Toolbar btn_click()
^C^C_-vbarun;"C:/.../demo_name.dvb!ACADProject.Module_name.method_name"

加入LSP资料夹

Command:joor
(defun c:joor()  (vl-vbarun "C:/.../demo_name.dvb!Module_name.method_name"))

Start Coding...

API

The ActiveX Developer's guide provides you with an overview of the main topics and workflows for using the AutoCAD ActiveX Object Library and the Microsoft Visual Basic for Applications Integrated Development Environment.


下一篇


关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章