Hello,
I have 2 functions that do the same thing, calling ReadDwgFile().
One function is a LispFunction and the other is a CommandMethod which calls a dialog.
The LispFunction version will not catch the exception when I wrap ReadDwgFile in a try/catch, but the CommandMethod function will.
Is this because I am calling the LispFunction from LISP, and it just cannot handle those errors? I am trying to catch corrupt drawings on Open during a batch process, and if I hit one 50% into the batch, I lose AutoCAD.
Thanks,
Mike Caruso
Autodesk Certified Instructor 2014
AutoCAD/Civil 3D Autodesk Certified Professional 2014, 2015, 2018
www.whitemountaincad.com