CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.090.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 5128:

Question

CAD 
 %  platform  category 
A
Using a trick, you can insert automatic text fields (labels) also in AutoCAD LT (2005,2006,2007,2008). Text fields are normally supported only in full AutoCAD - the FIELD command.

Despite that LT does not support the FIELD command, you can insert the field codes in the plain DTEXT command and these fields are still dynamically interpreted/updated.

So you can e.g. insert an automatic value containing the DWG file name - just copy the following line to the contents of a DTEXT entity:

%<\AcVar Filename \f "%fn6">%
(fn6 = no path; fn2 = no extension; fn7 = incl.path)

Or put the last save date or the last plot date in your drawing:

%<\AcVar SaveDate \f "dd.MM.yyyy h:mm tt">%
%<\AcVar PlotDate \f "%#c">%

See some advanced codes in the Tip 3676.

ACLT2008ACLT2007ACLT2006ACLT2005
100% *CAD
20.7.2006    42325×  

See also:
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14363:Yesterday's, tomorrow's, past or future date in the DWG drawing.
Tip 14307:How do I generate EDU licenses for the Autodesk license server?
Tip 14215:IF statement in AutoCAD text fields and attributes.
Tip 14039:How to display the total volume or surface of 3D solids in DWG?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist