CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 8951:

Question

CAD 
 %  platform  category 
A
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^.

ACADACLTADTCivilACADM
100% *CAD
4.12.2012    21007×  

See also:
Tip 14615:How to create negative dimensions in AutoCAD?
Tip 14608:How can the same DWG show dimensions for the Germans and French with a decimal comma, and for the British and Americans with a point?
Tip 14606:How to display imperial dimensions including zero inches?
Tip 14527:Search/Replace texts in Inventor drawings - iLogic.
Tip 14454:How to hide dimensions with zero- or small length?


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:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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