LINHOREKA Posted September 5, 2013 Share Posted September 5, 2013 Hi, I make a simple VB.NET assembly, define a lisp function named OpenYourSteel. Then I use an AutoLisp function C:YS to call (OpenYourSteel). The reason why is I can modify lisp command C:YS easily. I load them all to AutoCAD 2012, it works ok. But problem comes: 1st: I open AutoCAD and do nothing on the first drawing 2nd: I open the second drawing, run NETLOAD my dll then run YS or (OpenYourSteel), it works ok 3rd: I return to the first drawing and run NETLOAD, then run YS: AutoCAD reports error: no function definition (OPENYOURSTEEL) !!! I run NETLOAD again and again, the same error happen ! 4th: I close my first drawing, re open it, run NETLOAD: it works normally again !!! This error happen only to lisp function define in VB.NET. Commands defined in VB.NET are all ok. But I am trying to keep my VB.NET routine as a lisp, unless there is noway to fix this bug. Can anybody help ? Thank you all in advance. 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.