CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.090.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 4325:

Question

CAD 
 %  platform  category 
A
The RText (remote text) contents can be a Diesel expression or an external file. Control characters are disabled in RText by default. The underline control chars are \L and \l.

To enable processing of control characters (like in MText) also in RText objects, use an undocumented setting - bit 2 in the DXF group 70.

Try e.g. the following code which creates an underlined RText:

  
(entmake '((0 . "RTEXT")  
(100 . "AcDbEntity")  
(100 . "RText")  
(10 10.0 10.0 0.0)  
(40 . 0.3)  
(70 . 3)  
(7 . "Standard")  
(1 . "UNDERLINED {\\LTEXT}") ) )  
Make sure you have used the RTEXT command at least once in the current session.
ACAD2000ADTMap
100% *CAD
4.4.2005    17274×  

See also:
Tip 14363:Yesterday's, tomorrow's, past or future date in the DWG drawing.
Tip 13426:Use of alternative units for arithmetic in dimensions (without square brackets).
Tip 8989:Control codes "%%" in text entities.
Tip 8640:Text formatting codes in MText objects.
Tip 7191:How to increase the offset between MLeader text and underline?


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
  



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