iT邦幫忙

0

AutoCAD ActiveX #1 安裝環境

joor 2021-05-20 17:50:321145 瀏覽

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.


下一篇


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

我要留言

立即登入留言