Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to capture exception in AutoLISP?

1 REPLY 1
Reply
Message 1 of 2
cracksther
371 Views, 1 Reply

How to capture exception in AutoLISP?

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

1 REPLY 1
Message 2 of 2
SomeBuddy
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost