The following is a very basic lisp routine I did ages ago that looks for a OS map file (specified by the user) and insets it at 0,0, zooms to extents, and then turns off a load of layers. This has stopped working in 2005 because of the way the '-inset' command works (after autocad cant find the file in the support folders it halts the routine instead of going onto the next line, like in 2000). I need the routine to go onto the next line and ignore any path finding errors it comes across. I'm afraid I dont know much about Lisp so any help would be much appreciated. ;Map creator by A. Gartland ; (defun C:map ( ) ; ;First enter map filenames... ; (setq map1 (getstring " Enter grid reference or ESC to cancel:")) ; ;Next insert the map blocks then zoom to extents & freeze unwanted layers... ; (command "cmdecho" "1") (command "-insert" map1 "0,0" "" "" "") (command "-insert" (strcat map1 "ne") "0,0" "" "" "") (command "-insert" (strcat map1 "se") "0,0" "" "" "") (command "-insert" (strcat map1 "nw") "0,0" "" "" "") (command "-insert" (strcat map1 "sw") "0,0" "" "" "") (command "zoom" "e") (command "-layer" "f" "TPCL,NCTR,P_BY,E_BY,O_PK,R_CL,B_PT,TBLD,TEXT,T_BY,GRID,COPYRIGHT,GRIDTEXT,TXT_GRID,HEADER,SCRU,VEGS,TRIG,HTPT,BMER,WTER,NCTS,RGRA,MRSH,NCON,SLOP" "") (repeat 1) )(princ)