- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Below is a LISP we are currently using in our office for AutoCAD 2015, since 2015 bogs down way more than previous versions. We find that constantly cleaning up the drawing helps the performance when working in the drawing. Is there a better way to re-write this so it will hopefully cut down the time it takes to execute (I'm hoping to take it down from 2 seconds to 1 second per save). We don't want layers and linetypes purged. Thanks!
(DEFUN C:SV ()
(COMMAND "-PURGE" "BLOCKS" "*" "N")
(COMMAND "-PURGE" "DETAILVIEWSTYLES" "*" "N")
(COMMAND "-PURGE" "DIMSTYLES" "*" "N")
(COMMAND "-PURGE" "GROUPS" "*" "N")
(COMMAND "-PURGE" "MATERIALS" "*" "N")
(COMMAND "-PURGE" "MLINESTYLES" "*" "N")
(COMMAND "-PURGE" "MULTILEADERSTYLES" "*" "N")
(COMMAND "-PURGE" "PLOTSTYLES" "*" "N")
(COMMAND "-PURGE" "SECTIONVIEWSTYLES" "*" "N")
(COMMAND "-PURGE" "SHAPES" "*" "N")
(COMMAND "-PURGE" "TABLESTYLES" "*" "N")
(COMMAND "-PURGE" "TEXTSTYLES" "*" "N")
(COMMAND "-PURGE" "VISUALSTYLES" "*" "N")
(COMMAND "AUDIT" "Y")
(COMMAND "QSAVE")
(PRINC)
)
Work: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
Solved! Go to Solution.