- Home
- Forums
- Things
- Engineering Computer Programs
- Engineering Programs
- Autodesk: AutoCAD
- Thread starter dogleg43
- Start date Aug 10, 2002
- Status
- Not open for further replies.
- Aug 10, 2002
- #1
dogleg43
Electrical
- Aug 10, 2002
- 74
- US
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.
Sort by date Sort by votes
- Aug 13, 2002
- #2
borgunit
Mechanical
- Jul 26, 2002
- 1,153
- US
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
Upvote0Downvote
- Aug 13, 2002
- 3
- #3
JHubbard
Mechanical
- Aug 1, 2002
- 8
- US
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.
Upvote0Downvote
- Aug 13, 2002
- Thread starter
- #4
dogleg43
Electrical
- Aug 10, 2002
- 74
- US
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.
Upvote0Downvote
- Aug 13, 2002
- #5
JHubbard
Mechanical
- Aug 1, 2002
- 8
- US
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.
Upvote0Downvote
- Aug 14, 2002
- #6
sammysparkle
Materials
- Jul 15, 2002
- 13
- NG
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!
Upvote0Downvote
- Sep 27, 2002
- #7
cparnell
Mechanical
- Sep 23, 2002
- 71
- US
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
[emailprotected]
Upvote0Downvote
- Sep 30, 2002
- #8
knobhead
Aerospace
- Mar 6, 2001
- 184
- GB
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.
Upvote0Downvote
- Oct 1, 2002
- #9
zliazmei
Structural
- Feb 5, 2002
- 97
- AE
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
Upvote0Downvote
- Status
- Not open for further replies.
Similar threads
- Question
Autocad 2025 Insert Palette
- ohiocad
- Jul 15, 2025
- Autodesk: AutoCAD
- Replies
- 0
- Views
- 4K
Jul 15, 2025
ohiocad
- Question
AutoCAD 2026
- CAD2015
- May 13, 2025
- Autodesk: AutoCAD
- Replies
- 0
- Views
- 667
May 13, 2025
CAD2015
- Question
LSP for edit multiple blocks (color) at once in AutoCAD
- jafary64
- Jul 10, 2025
- Autodesk: AutoCAD
- Replies
- 7
- Views
- 10K
Jul 17, 2025
CarlB
- Question
Autocad scripts and vault
- ohiocad
- Jun 12, 2025
- Autodesk: AutoCAD
- Replies
- 3
- Views
- 12K
Jun 17, 2025
Sparweb
- Locked
- Question
Features Tree in AutoCAD?..................
- CAD2015
- Aug 8, 2024
- Autodesk: AutoCAD
- Replies
- 7
- Views
- 2K
Aug 21, 2024
CAD2015
Part and Inventory Search
Sponsor
- Home
- Forums
- Things
- Engineering Computer Programs
- Engineering Programs
- Autodesk: AutoCAD