CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2271 

CAD tip CAD tip # 6644:

Question CAD 
 %  platform  category 
Q - question

Displaying layout name in dynamic text fields.

A - answer If you want to copy a text or block into multiple layouts in your drawing, you may want to use an automatic text which will display the name of the respective layout (paperspace).

You can use the Field functionality for this - just insert a field and use the "Other" category, and the "System variable" CTAB value. Or just copy and paste the following line (field code) as a DText or MText:

%<\AcVar ctab>%
or (uppercase):
%<\AcVar ctab \f "%tc1">%
The same text object will then read e.g. "Layout1" in the first (default named) layout, "Layout2" in the second, etc. This applies both for modelspace and paperspace text entities.
100% *  CAD 
28.4.2009    16399×  

See also:
Tip 11983:How to use iLogic code to fill username into iProperties?
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11171:Total number of layouts as a field.
Tip 10889:How to get user's full domain name, phone No., department, e-mail...
Tip 10866:Revit LT 2017 in more, "secret" languages.

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   

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.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.