CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3537 

CAD tip CAD tip # 5128:

Question CAD 
 %  platform  category 
Q - question

Dynamic text fields even in AutoCAD LT.

A - answer 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    39365×  
Prices - CAD eShop:

See also:
Tip 12616:Att2elev - move block to elevation specified by its attribute.
Tip 12470:A table with calculated expressions is suddenly dead, doesn't calculate and update.
Tip 11888:Dynamic label of area and perimeter - DynArea.
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11565:AttDefault - reset block attributes to default values.


Back   All CAD Tips All CAD tips&tricks



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 glossary   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


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