CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 3056

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    18027×  

See also:
Tip 13522:LookupXLS - populating DWG texts from Excel spreadsheets.
Tip 13426:Use of alternative units for arithmetic in dimensions (without square brackets).
Tip 13006:Calculated property descriptions (tobogan slide from floor to floor)
Tip 11983:How to use iLogic code to fill username into iProperties?
Tip 11794:Undocumented code in field expression - MText contents without control characters.

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