ellen finkelstein logo

Ellen Finkelstein.com
AutoCAD PowerPoint About Links
       

Over 130 AutoCAD tips and tutorials!

AutoCAD Tips
AutoCAD Tips Blog

Get free tips!
Sign up for our monthly tips newsletter. Free, bonus e-booklet!


RSS: What is it? Why do I want it? How do I get it?

Add to My Yahoo!
Subscribe with Bloglines

Buy a Book

E-mail This Page 
to a Friend

Submit a tip! If you include your name and I post your tip, I'll give you credit.

AutoCAD Tips & Tutorials

Creating fields that update automatically (for 2000-2004)

The new fields in AutoCAD 2005 make it easy to add text that updates automatically. For example, you can put today's date, the sheet number, and Drawn By initials in your title block. However, if you don't have 2005 but have Express Tools (they come with 2004 and you can purchase them for $149 if you have 2000, 2000i, or 2002), you can create fields using the Express Tools RTEXT command and some simple DIESEL expressions. Don't let the DIESEL scare you; these expressions are easy to use. Here's how:

  1. Start the RTEXT command or choose Express>Text>Remote Text. (RTEXT is often used to display text coming from an outside, or remote, file.)
  2. Choose the DIESEL option.
  3. In the Edit Rtext dialog box, enter one of the following expressions:
  • Drawing file: $(getvar, "dwgname")
  • Drawing name with path: $(getvar, "dwgprefix")$(getvar, "dwgname")
  • Tab (model or layout): $(getvar, ctab)
  • Date: $(EDTIME,0, M/DD/YY)
  • Drawing property: $(getprop, property name) The standard property names are Title, Subject, Author, Comments, Keywords, LastSavedBy, and Revno. You can even use a custom property, with the format $(getprop, %custompropertyname). For example, if you have a custom property named Customer, you would use $(getprop, %customer).
  1. Click OK and follow the prompts to place the text.

Tip: To add the drawing name without the ".dwg" use the following expression:

$(substr,$(getvar, dwgname),  1[, $(-, $(strlen,$(getvar,dwgname)),4 )])

Thanks to Curtis Waguespack for this tip and the idea for this entire topic.

As you may have guessed, the "getvar" part of the code gets the value of system variables. You may find other system variables that you would like to display in your title blocks. Experiment!

 

 

Back to main tips menu for more tips

Page copy protected against web site content infringement by Copyscape


Books by Ellen

New!
AutoCAD 2009 and AutoCAD LT 2009 Bible

This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more.

AutoCAD 2008 and AutoCAD LT 2008 Bible
Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.

AutoCAD 2007 and AutoCAD LT 2007 Bible 
Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.

AutoCAD 2006 and AutoCAD LT 2006 Bible 
Understand and use the 2006 features, including dynamic blocks and the new method of customizing menus and toolbars. CD-ROM has AutoCAD trial, software, and drawings for all exercises.


AutoCAD 2005 and AutoCAD LT 2005 Bible
Fully explains latest 2005 features:  tables, fields, and sheet sets. For the first time, covers AutoCAD LT! CD-ROM comes with software and drawings for all exercises.


AutoCAD 2004 Bible

Covers all features in detail. Hands-on exercises. Over 1300 pages + CD-ROM with software and drawings for all exercises.

                                  Home  |  AutoCAD  |  PowerPoint  | E-StoreAbout  | Links | Contact | Site Map
Copyright Ellen Finkelstein, Inc.