I wrote a layer handling script and for the most part it works. However there are a few drawings (maybe 1%) that crash. I get this error: ;error: Exception occurred: 0xC0000005 (Access Violation) with this alert: FATAL ERROR: Unhandled Access Violation Reading 0x6c617624 Exception at 65176876h How can I make it catch the errors and tell me what they are so I can try and figure out why these specific drawings are not working? the portion of the script that is failing uses regular lisp, no vl. I believe the following function may be the culprit, but I am not yet sure: (if (/= LayerColor "-") (progn (if (= LayerFreeze "thaw") (command "T" layer) (command "F" layer)) (command "C" LayerColor layer) (if (/= LayerLineType "Continuous") (command "LT" LayerLineType layer)) (if (= LayerLock "unlock") (command LayerLock layer)) (if (/= LayerLineWeight ".010") (command "LW" LayerLineWeight layer)) (if (= 0 (getvar "PSTYLEMODE")) (command "PS" LayerPlotStyle layer)) (if (= LayerPlot "noplot") (command "P" LayerPlot layer)))) thanks for any help - kemp