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

CAD tip CAD tip # 13485:

Question CAD 
 %  platform  category 
Q - question

Multi-line keynotes in Revit.

A - answer Indexed notes in Revit (keynotes) are controlled from auxiliary text files with definitions of the displayed texts. These texts are single-line by default, but with a simple trick you can modify them to support multiline texts, with text spanned over 2 or more lines.

Open the keynote definition file (a tab-delimited file) in a suitable text editor (e.g. Notepad++) and insert the control code {LF} (/n, 0x0A, hard line break) at the desired line break position, e.g. by pressing the key combination Alt+010. Save and reload the file in Revit - Annotation > Label > Keynote > Keynote Settings.

The given keynote will then look something like this in the project:

You can't use the standard Notepad editor in Windows, because it usually (except when the file already contains lines separated by {LF}) automatically appends {CR} to each typed {LF} character, i.e. the classic combination of control characters for a new line.

Another option is to edit the definition text file using MS Excel (open it, then export it back to TXT) and edit the given cell using the key combination Alt+Enter (hard end-of-line).

100% *  CAD 
22.9.2022    5089×   FAQ  
Prices - CAD eShop:
applies to: Revit ·

See also:
Tip 7090:Line breaks in cells in AutoCAD tables.
Tip 7066:How to run an older version of AutoCAD or Inventor in Windows 7.
Tip 6739:Solving intermittent random errors in AutoCAD input.
Tip 4020:Undocumented AutoCAD system variables.
Tip 3894:How to replace hard returns (EOL) in MText?

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   

Link your AutoCAD block attributes with Excel tables/sheets. Automatically. Dynamically. Bidirectionally.
Try Excellink 2015 More info

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.