CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2883 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 8951:

Question CAD 
 %  platform  category 
Q - question

Multicolor dimension texts in AutoCAD.

A - answer The standard dimension object in AutoCAD consists of multiple components and their style (including color) can be individually influenced with the dimension style and dimensioning variables (style override).

But you can also display the dimension text alone in multiple colors. It can be achieved with the paragraph text (mtext) control codes. An overview of these control sequences can be found in the tip 8640.

In the dimension style dialog (DIMSTYLE), you can use these codes to set prefix and suffix for primary and alternate units. E.g. the setting of the string \C2;oprac.\C7; in the field Primary units > Suffix displays the added text "oprac." in yellow color in a standard, non-overridden dimension (similarly: \C5; for blue alternate units):

Similarly you can use control codes (characters) to display any dimension text as a subscript or superscript (index) - see the code \S^.

100% *  CAD 
4.12.2012    3918x  
Comments   Tell a friend

See also:
Tip 10921:The tolerance frame is displayed or printed in different line weight.
Tip 10031:Dimension with fixed length of extension lines (fixed dim.line offset)
Tip 10023:Inherit properties in additional continue dimensions.
Tip 10015:How to select and modify objects in all layouts of the DWG?
Tip 9553:Complete thorough PURGE on a single click.

Back   All CAD Tips All CAD tips&tricks

How to explode a component pattern in an Inventor assembly? « | » FATAL ERROR when launching Civil 2013 by double-click on a DWG.

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.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.