muthu123 发表于 2022-7-6 10:35:06

我们如何调用在中创建的dll

亲爱的朋友们:,
 
我们怎么能称之为。Vlisp的NET dll?
 
当做
穆图。

Kerry Brown 发表于 2022-7-6 10:58:53

DLL加载到AutoCAD后;
调用属性为“CommandMethod”的方法与调用AutoCAD命令相同,
调用属性为“LispFunction”的方法与调用普通Lisp函数相同

muthu123 发表于 2022-7-6 11:05:17

 
你能用一些例子简单解释一下吗?
 
当做
姆图胡

Kerry Brown 发表于 2022-7-6 11:32:08

当然
http://www.theswamp.org/index.php?topic=32381.0
http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm

asos2000 发表于 2022-7-6 11:48:12

首先加载DLL文件
 
(defun-q S::STARTUP ( )
(command
   "_NETLOAD" "C:\\Test\\Test-01.dll")
(command
   "_NETLOAD" "C:\\Test\\Test-02.dll")
)
 
然后调用与lisp函数相同的普通函数
例如
(function-01)
页: [1]
查看完整版本: 我们如何调用在中创建的dll