Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
cracksther
Posts: 21
Registered: ‎03-03-2009
Message 1 of 2 (193 Views)

How to capture exception in AutoLISP?

193 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?

 

Thanks!

 

Marcelo Silva - Brazil

cracksther@gmail.com

Valued Mentor
SomeBuddy
Posts: 372
Registered: ‎06-07-2010
Message 2 of 2 (192 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.