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

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

See also:
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.
Tip 11171:Total number of layouts as a field (Page 3 of 7).
Tip 10889:How to get user's full domain name, phone No., department, e-mail...

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   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit 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.