Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Posts: 21
Registered: ‎03-03-2009
Message 1 of 2 (192 Views)

How to capture exception in AutoLISP?

192 Views, 1 Replies
07-21-2010 12:32 PM

Hi all,


the following message is returned:
"Command: ; error: Unknown exception occurred
; warning: unwind skipped on unknown exception"
this occur because of following situation:
- in the file "A", is running a AutoLISP code that create a new file "B";
- in the file "B", a reactor, call other code that create details of a 3d, and return for the file "A",
- this all is run perfect; however if user close the file "A" before display manualy, of file "B" (ctrl + tab) the exception is returned in file "B"

Is possible prevent this exception?




Marcelo Silva - Brazil

Valued Mentor
Posts: 372
Registered: ‎06-07-2010
Message 2 of 2 (191 Views)

Re: How to capture exception in AutoLISP?

07-21-2010 12:41 PM in reply to: cracksther

This is not an AutoLISP error message, but seems to be something emanating from the native AutoCAD code, therefore I don't think you can "intercept" it (except maybe if it is a custom ARX or something and you have the source code), buit rather make sure to do the things the right way.

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.