Message 1 of 28
Custom Macro Crashing AutoCAD LT ... sometimes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a custom macro that I use to set the proper draw order of a standard set of layers in each of my drawings. About half the time, this macro will crash AutoCAD. Every drawing has the same set of layers, so I am at a loss as to what could be setting off the crash occasionally.
I've posted the macro here and would appreciate any assistance in debugging.
^C^Cexpert;1;;^C^C-La;A;d;temp;s;temp;;;;GRAPHSCR;-layer;thaw;"l-hardscape-hatch";;-layer;set;l-hardscape-hatch;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-water;set;l-water;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-mulch;set;l-mulch;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-features-hatch;set;l-features-hatch;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-fines;set;l-fines;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-lawn;set;l-lawn;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-stone;set;l-stone;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;-render;set;-render;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;-calcs;set;-calcs;freeze;*;;_select;_auto;all;;draworder;previous;;back;-la;thaw;l-pl-groundcover;set;l-pl-groundcover;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-groundcover-e;set;l-pl-groundcover-e;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-furniture;set;l-furniture;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-features;set;l-features;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-shrubs;set;l-pl-shrubs;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-label;set;l-pl-label;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-shrubs-e-shade;set;l-pl-shrubs-e-shade;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-shrubs-e;set;l-pl-shrubs-e;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-trees;set;l-pl-trees;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-trees-e-shade;set;l-pl-trees-e-shade;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;thaw;l-pl-trees-e;set;l-pl-trees-e;freeze;*;;_select;_auto;all;;draworder;previous;;front;-la;a;r;temp;;;re;