So I have a lisp that woks but it is just slow running it. can anyone tell me what setting in auotcad should be changed to make this run faster, or do I have the lisp writen wrong. I dont know where to start. any help would be greatly appreciated.
;; ******************************************************************************************* (defun C:Sheet () ;(setvar "CMDECHO" 0) (command "-layout" "n" "24x36") (command "-layout" "s" "24x36") (command "-plot" "y" "24x36" "USPYPLOTTER03.pc3" "Arch D (landscape)" "inches" "landscape" "no" "window" "0.0000,0.0000" "36.0000,24.0000" "1:1" "0.00,0.00" "Yes" "Monochrome.ctb" "Yes" "No" "No" "No" "No" "Yes" "No" ) ; (c:24x36titleblock) (command "-insert" "*C:/AutoCAD_Add-ons/Blocks/Titleblocks/plottb.dwg" "-.195,-.195" "" "" "0" ) ) ;(setvar "CMDECHO" 1) (princ) ;**************************************************************** ;This will insert title block ;(defun c:24x36titleblock () ; (command ; "-insert" ; "*C:/AutoCAD_Add-ons/Blocks/Titleblocks/plottb.dwg" ; "-.195,-.195" ; "" ; "" ; "0" ; ) ;) ;; *******************************************************************************************
Lisp code looks good. Is it just as slow if you were to manually execute the same commands in that sequence?
Area Object Link | Dwg Setup | Feet-Inch Calculator | List on Steroids
Exchange App Store
Maybe there's some plot devices that are no longer referenced that should be removed. Those usually would slow AutoCAD to a crawl when attempting to even start the Plot command.
Area Object Link | Dwg Setup | Feet-Inch Calculator | List on Steroids
Exchange App Store
I just ran throght typing it in vs running the command. Typing is about 3 mins, and lisp take s 45 seconds. so I am wrong on your first question. I did noticed that you are correct about the plotter being selected took the longest. I just got this new laptop with a fresh version of autocad, so there is no exccess plotter / printers installed.
Maybe AutoCAD is searching into the Windows system printers that is slowing it down. Try disabling this search:
Options>Plot and Publish tab > check Hide system printers
I would also check the plott device folder to see if there are shortcuts there that AutoCAD may be forced to search which will also slow things down:
command: PlotterManager
Area Object Link | Dwg Setup | Feet-Inch Calculator | List on Steroids
Exchange App Store
No suck luck. Oh well, I will keep trying to mees with the settings. Thanks for all the help.
I tried that and no suck luck. I am just chocking this up to how large the network is, and it has to find the plotter.