muthu123 Posted August 8, 2010 Share Posted August 8, 2010 Dear friends, How can we call the .NET dll from Vlisp? Regards, Muthu. Quote Link to comment Share on other sites More sharing options...
Kerry Brown Posted August 8, 2010 Share 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 Link to comment Share on other sites More sharing options...
muthu123 Posted August 9, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
Kerry Brown Posted August 9, 2010 Share 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 Link to comment Share on other sites More sharing options...
asos2000 Posted August 9, 2010 Share 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 Link to comment Share on other sites More sharing options...
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.