AutoCAD ActiveX #1 安装环境

VBA IDE

Command:VBAIDE
需下载对应年份
https://ithelp.ithome.com.tw/upload/images/20210508/20137134fF8oYdMVQW.png
https://ithelp.ithome.com.tw/upload/images/20210512/20137134TopFvrJSbX.png

VBAIDE汇入参考
https://ithelp.ithome.com.tw/upload/images/20210520/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.


下一篇


<<:  iOS工程师面试深入浅出(OC)- @property 使用方法?Copy 什麽时候用?

>>:  当SFC在Windows上无反应时如何解决?

Day30影片教学:Azure小白如何使用Azure Active Directory Identity protection管好管满

在昨天我们谈完Azure小白想早下班-之-使用Azure Synapse Analytics汇入数P...

Day24 Modules & Namespaces

今天要来介绍 Module,写 Module 的好处在於,可以把程序码分成不同档案来管理,会比较好维...

[第二只羊] 迷雾森林建筑工事 I 桌游APP功能方块

天亮了 昨晚是平安夜 关於迷雾森林故事 阿虎的朋友 身为大型猫科动物,阿虎本来是不想管山林中的杂事,...

Rust-资料型别-整数、浮点数

Rust是静态型别语言,所以在编译时需要知道变数的型别是什麽 前面的程序范例很多是没有宣吿型别但是却...

如何制作万用WIN 10 系统磁碟映像

如何制作万用WIN 10 系统磁碟映像 准备工作 WIN 10 install.wim 档案 WIN...