CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1423 

CAD tip CAD tip # 9619:

Question CAD 
 %  platform  category 
Q - question

How to get rid of "----" in empty fields?

A - answer When you place a text field in your drawing and this text field refers an empty value, e.g. a not filled-in record in the drawing properties, it is displayed as 4 dashes "----".

This display method cannot be changed but you can pre-fill a different value than the empty string "" into the referred property - e.g. a space or - if spaces are ignored - the "non-breaking space" character (defined in Unicode as the code 160). You can enter this special character e.g. with the key combination ALT+0160 (on your numpad); the used font must contain the definition of this glyph (otherwise it shows as "?").

If you want to specify a field code which is not displayed as "----" (e.g. in sheet set properties), use just two percent signs: %%.

ACADLTADTACADMCivilMapPlant
100% *  CAD 
20.12.2013    6077×  

See also:
Tip 12616:Att2elev - move block to elevation specified by its attribute.
Tip 12470:A table with calculated expressions is suddenly dead, doesn't calculate and update.
Tip 11888:Dynamic label of area and perimeter - DynArea.
Tip 11794:Undocumented code in field expression - MText contents without control characters.
Tip 11565:AttDefault - reset block attributes to default values.


Back   All CAD Tips All CAD tips&tricks



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   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist