- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to automate cleaning up a load of drawings, so I was intending to use Lee Mac's Script Writer to automate the process, as I already have a script file that does the job.
However, I can't remember how to include a CR character to terminate the -LAYER command. I'm pretty sure that I've managed to do this previously, but the method I adopted is lost in the mists of time.
I've attached the original script file, and you will see that I've got a blank line below the -LAYER command. That's where my problem lies. Converting the SCRIPT file into a Lisp version is straightforward, but however I do it, LISP or SCRIPT I still need to terminate the -LAYER command
Any help would be appreciated ... TIA
(LOAD "K:\Autocad Support/LISP/DeleteAllAnnotationScales_V1.LSP")
PURGESCALES
WHIPTHREAD 3
FILETABPREVIEW 0
FILETABTHUMBHOVER 0
VTENABLE 0
WIPEOUTFRAME 2
UCSFOLLOW 0
EDGEMODE 0
PROXYSHOW 1
PROXYGRAPHICS 1
PROXYNOTICE 0
GEOMARKERVISIBILITY 0
ANNOAUTOSCALE 0
AUPREC 3
HPLAYER .
-layer s 0
CECOLOR BYLAYER
CELTSCALE 1
CELTYPE BYLAYER
CELWEIGHT -1
CETRANSPARENCY ByLayer
audit y
-purge a * n
-purge r * n
ZOOM E
qsave
Solved! Go to Solution.