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. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 5671:

Question

CAD 
 %  platform  category 
A
You can label your contour elevations automatically with the help of AutoCAD dynamic blocks functionality (used to its limits). Please find an example of such annotation label in the dynamic block ContourAutoLabel in the CAD block catalog.

If your contours (polylines) are placed in "their" height (Z-coordinate), just use an osnap mode (e.g. NEArest) and insert the block ContourAutoLabel on the contour polyline. The label will be automatically aligned to the direction of the contour, its Height attribute will be set to the Z-coordinate of the insertion point, the value of the coordinate (rounded to one decimal place) will be centered and background will be masked around the label text.

To suppress the frame use the TFRAMES command. To disable the shaded background use the FIELDDISPLAY variable (the background is not printed anyway).

ACAD2009ACAD2008ACAD2007ACLT2009ACLT2008ACLT2007
100% *CAD
25.7.2007    35203×  

See also:
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
Tip 14537:Automation of AutoCAD drawing texts using fields.
Tip 14526:How to export geometry from AutoCAD DWGs to JSON files and import it back?
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14443:Connector, notch, groove, cutout or other curve- breaks - easily with dynamic blocks.


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:
Use Google Earth images in your AutoCAD projects with the Plex.Earth 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