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

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    33366x  
Comments   Tell a friend

See also:
Tip 10972:Replace text fields with static texts.
Tip 10889:How to get user's full domain name, phone No., department, e-mail...
Tip 10790:Long text is not wrapped automatically to 2 lines in my title block.
Tip 10721:How to draw a catenary or other parametric curve in Inventor?
Tip 10719:How to add the unfold rule name as a drawing note?


Back   All CAD Tips All CAD tips&tricks

Faster Content Center in Inventor 11. « | » Selection - cycling through overlapping objects in AutoCAD 2007 and higher.

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:
Export 3D VRML scenes from AutoCAD and Inventor 2015
VRMLout More info


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