Preventing from crashing LISP routine that loads/calls many other LISPS

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I've collected a huge sequence of LISPS here on forum and over the Internet, testing them a LOT for many situations (all the best I've found and that was working well 95% of time) to get any .dwg file as purest and cleanest as possible by loading the following sequence of LISPs, in sequence:
1.Delete all layouts;
2.Sets Color (setvar "cecolor"), Linetype (setvar "celtype") and Lineweight (setvar "celtype") to "ByLayer";
3.Sets "Allow exploding for all blocks";
4.Burstall blocks in the drawing;
5.Delete remaining blocks after the super burst upgraded LISP;
6.Explode all dimension and leader styles, converting them to basic AutoCAD entities;
7.Steal "Standard" styles from basic acad.dwt (isso) template and set all them current for dimensions, textstyles, leader styles and so on;
8.Delete all constraints of the drawing;
9.Converts any Attribute back to Normal Texts;
10.Converts "Mtext" to normal "Dtext" and bring all them to front;
11.Converts 2D solids to hatches;
12.Converts splines to polylines;
13.Converts elipses to polylines;
14.Convert region to polylines;
15.Erase all wipeouts;
16.Erase all ACADpoints;
17.Gets the colour from entities (first) or from the layer where the object is inserted (second) and applies to the the object properties;
18.Gets the linetype from entities (first) or from the layer where the object is inserted (second) and applies to the the object properties;
19.Sets all linetypescales to 1.0;
20.Converts 3D to 2D polylines;
Sometimes, for any reason, when one of those LISPS crashes/fails or was not able to be executed, the aftwards LISPS are not being loaded/executed aswell. Is there any way to prevent this from happening? I mean, is there any way IF some of those loaded LISP has crashed, the aftwards LISPS still are able to run properly, ignoring possible errors?
The main LISP that loads all the other one is attached here and all the used LISPS are attached aswell. My intention is to introduce something in the loading code (like a condition) to get all LISPS running and loading, in this sequence, one after other, crashing or not. Is this possible?
Thanks in advance.