Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Template setup help?

Status
Not open for further replies.

Darken99

Mechanical
Apr 5, 2005
135
0
0
US
I am trying to get 1 field to have the current date appear without having to enter it. I also want another field that will have the date automatically change to the current date when the drawing is opened. I am also looking to have the drawing file location saved on the drawing.

I am pretty new Lisp programming, so if someone can make this as easy as possible it would be great.

Thanks
 
Replies continue below

Recommended for you


Darken99

If you like tinkering, instead of using plotstamp, use the RTEXT command and do the following.

Type RTEXT
<Diesel>

Then type the following in the Rtext edit box.

DRAWING FILE NAME and LOCATION - $(getvar, "dwgprefix")$(getvar, "dwgname") - $(edtime,0, MONTH DD"," YYYY-H:MMam/pm)

Click OK to place it on your template.

Be careful with all the parentheses, commas, quotation marks and spelling...one slip and it won't work.
 
Status
Not open for further replies.
Back
Top