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.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Place your Ad on CADforum.cz

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.

LT2008LT2007LT2006LT2005
100% *CAD
20.7.2006    42182×  
Prices - CAD eShop:

See also:
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?
Tip 13996:Automatic hide for Revit palettes - save screen space (undocumented).
Tip 13788:Green square - mathematical charade and parametric constraints in AutoCAD.


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:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


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