muthu123 Posted August 8, 2010 Posted August 8, 2010 Dear friends, How can we call the .NET dll from Vlisp? Regards, Muthu. Quote
Kerry Brown Posted August 8, 2010 Posted August 8, 2010 After the DLL is loaded into AutoCAD ; call methods attributed as 'CommandMethod' the same you call AutoCAD commands, call methods attributed as 'LispFunction' the same as you call ordinary Lisp Functions Quote
muthu123 Posted August 9, 2010 Author Posted August 9, 2010 After the DLL is loaded into AutoCAD ;call methods attributed as 'CommandMethod' the same you call AutoCAD commands, call methods attributed as 'LispFunction' the same as you call ordinary Lisp Functions Can you explain briefly with some examples? Regards, Mtuhu Quote
Kerry Brown Posted August 9, 2010 Posted August 9, 2010 sure .. http://www.theswamp.org/index.php?topic=32381.0 http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm Quote
asos2000 Posted August 9, 2010 Posted August 9, 2010 First Load the DLL file (defun-q S::STARTUP ( ) (command "_NETLOAD" "C:\\Test\\Test-01.dll") (command "_NETLOAD" "C:\\Test\\Test-02.dll") ) Then call the function ordinary same as lisp function For example (function-01) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.