Message 1 of 4
Delecting a names block accross many file script.scr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am using AutoCad Electrical 2015. I need to delete a named block accorss 900 drawings. From the project tab the is a utilities that will let me run a script file ( .scr not .lsp ) accross all the files. I have tried the following in my scr file:
; Erase the ANSI-D_22x34 block
(command "erase" (SSGET "X" '((0 . "INSERT") (2 . "ANSI-D_22x34" ))) "")
QSAVE
CLOSE
;Blank line above to end the command
This seems to work on the 1st open file but then just stops running. If I try to run it from the manage tab, Run Script. I get a error dialog that pops up and says "Filename of the drawing".scr not found
Thanks,
Bob