CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

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

See also:
Tip 14590:Why do some item numbers appear blue in my Inventor BOM?
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.


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:
Take advantage of orthophotos, point clouds, and design files. Get better quality design changes faster with Pointscene 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