Jump to content

NET lisp error: no function definition


LINHOREKA

Recommended Posts

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...