Author Topic: File last saved by?  (Read 9322 times)

0 Members and 1 Guest are viewing this topic.

Didge

  • Bull Frog
  • Posts: 211
Re: File last saved by?
« Reply #15 on: September 17, 2008, 09:30:29 AM »
Tracey,

Here's a similar version of the code posted by MP, load the lisp and type LAST-SAVED-BY.

The results seem somewhat unreliable in 2006, (apparently half of our dwgs were created by AutoDesk) not sure if this has been improved in later versions but it's worth a try.


Quote
;**************************************************************************************************
; LAST-SAVED-BY - Command to display the name of the last user to save the current dwg.           *
; =============                                                                                   *
;**************************************************************************************************
(defun c:LAST-SAVED-BY ( / )
  (alert (strcat "This drawing was last saved by: "
       (strcase (vla-get-lastsavedby (vla-get-SummaryInfo (vla-get-Database
      (vla-get-ActiveDocument (vlax-get-Acad-Object))))))))
  (princ)
)
Think Slow......

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: File last saved by?
« Reply #16 on: September 17, 2008, 11:24:01 AM »
Thanks Didge. I'll take a look-see tomorrow.
Thanks for explaining the word "many" to me, it means a lot.