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:
Start the RTEXT command or choose Express>Text>Remote Text. (RTEXT is often used to display text coming from an outside, or remote, file.)
Choose the DIESEL option.
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).
Click OK and follow the prompts to place the text.
Tip: To add the drawing name without the ".dwg" use the following expression:
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!
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.