LINHOREKA 发表于 2022-7-6 22:16:31

NET lisp error: no function de

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.
页: [1]
查看完整版本: NET lisp error: no function de