×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Show last save date in AutoCad
3

Show last save date in AutoCad

Show last save date in AutoCad

(OP)
I'm looking for a simple way to imbed into an AutoCad drawing the last time the it was saved to disk.  Currently we have to rely on our draftsmen to manually change the revision date in the title block anytime a change is made on the drawing.  This is time-consuming and not reliable.

RE: Show last save date in AutoCad

Hi,
One way to "embed" some information into the drawing (I do not know what version of ACAD you are running so I will assume at least ACAD 2000). While the drawing is open, select under FILE >> DRAWING PROPERTIES and you will find various fields that you can use to store drawing information. Just save the drawing afterwards and then you can even browse the drawing in Explorer and read this information. I hope this helps.
BU

RE: Show last save date in AutoCad

3
System Variable:    TDUPDATE   Julian date/time
This variable is updated in AutoCAD every time the drawing is saved.
The only way to change this value is to save the drawing.

RE: Show last save date in AutoCad

(OP)
Thanks for the responses.  I've looked at the TDUPDATE command and do not understand how to use it.  We are using ACAD-2000.

I need for the last save date to be displayed on the drawing, such as: LAST SAVED AUG. 12, 2002.

If you have the time please explain in some more detail.

Thanks in advance.

RE: Show last save date in AutoCad

If you have the express tools loaded you can use remote text and diesel to automatically update a string.
Steps to do this are:
On the express tools menu select Text - Remote Text
At the command line enter D for diesel, a dialog box will pop up enter the following string in it:

$(edtime, $(getvar,tdupdate),DDD"," DD MON YYYY - H:MMam/pm)

you can then place the text where you want, it will update any time the drawing is saved.
If the drawing is subsequently edited on a machine without the express tools a proxy object will be placed and the text will not show, however it will be updated the next time it is opened with the express tools present.

RE: Show last save date in AutoCad

JHubbard,

Your reply is my discovery of the century.

However, I would appreciate if you could offer some explanation on how you designed the string so that it could be used even in other applications. Alternatively, you can recommend where further study on helpful tips like the one you offered can be done.

Cheers!

RE: Show last save date in AutoCad

I use Express Tools RTEXT to show File path. I also use one of the properties of the dwgprops command to show who save the file last. However my last save by does not always work. I learned that when the dwgprops command is activated, that this is when the last saved item works. In one of my two RTEXT codings in my border I have
Last Saved By:  $(getprop, lastsavedby)
However I have to put the following code into my acad.lsp which is in the following path, at least on my computer.
C:\program files\ACAD 2000\support\acad.lsp
This lsp coding has to be saved in a word processor such as notepad. (By the way, at the AutoCAD command prompt you can type "notepad", and press return twice and notepad will pop up.
Insert the following at the end of the acad.lsp file and save.

(command "dwgprops" ;)

The above lsp coding will cause the dwgprops command to be initiated and finished. The the last saved as coding in your border should work.
Hope this helps.

Contact me if you need to
Cparnell@southernstorefixtures.com

RE: Show last save date in AutoCad

I think the TIME command gives you this info too. If not, it's interesting to find out just how long that 10minute drawing really did take...

Excessive accuaracy is a sign of poor breeding. -Socrates.

RE: Show last save date in AutoCad

Hi friends

DWG properties Diesel Strings:
(All colected from this forum)

Location: $(getvar, "dwgprefix")$(getvar, "dwgname")
Created: $(edtime, $(getvar,tdcreate), ddd" DD"-Mon"-YYYY" - HH:MMAM/PM)
Last saved: $(edtime, $(getvar,tdupdate), ddd" DD"-Mon"-YYYY" - HH:MMAM/PM)
Last Saved By:  $(getprop, lastsavedby)
Printed: $(edtime, 0, ddd" DD"-Mon"-YYYY" - HH:MMAM/PM); Dispays current system time
Printed By: $(getvar, "loginname");Curent User
Total editing time $(edtime, $(getvar,tdindwg),  HH:MM)

This forum is realy GREAT!!!!!!!!

ZMEI

Thanks a lot to all of you

PS: Do you know the way for displaying computer name before the file path?
Like SRVER2\\c:\.............

Thanks in advice

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources