Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show last save date in AutoCad 3

Status
Not open for further replies.

dogleg43

Electrical
Aug 10, 2002
74
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.

 
Replies continue below

Recommended for you

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
 
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.
 
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.

 
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.
 
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!
 
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
 
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor