|
Is it possible to get a program to select a
file just plotted and have it And the answer is : Copy and paste this coding into Notepad and
save it as "EndPlot.lsp". You must only load this application.
"Do not run it, as it contains reactors". ;CODING STARTS HERE (prompt " \nLoad Only....Do NOT Run...") (vl-load-com) ;******************************************************* nil '((:vlr-commandEnded . endPlot))) ;******************************************************* thecommandend drgName newname) (setq thecommandend (nth 0 endcommandInfo)) (if (= thecommandend "PLOT") (progn (setq acadDocument (vla-get-activedocument (setq drgName (vla-get-name acadDocument)) (setq newname (strcat "c:\\backup\\" drgName)) (vla-save acadDocument) (vla-saveas acadDocument newname) );progn );if (princ) );defun ;********************************************************* (princ) ;CODING ENDS HERE |
|