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

CAD tip CAD tip # 5671:

Question CAD 
 %  platform  category 
Q - question

Automatic contour label for AutoCAD.

A - answer 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).

ACAD2009ACAD2008ACAD2007LT2009LT2008LT2007
100% *  CAD 
25.7.2007    23942×  
Comments   Tell a friend

See also:
Tip 11439:Replace block instances (incl. dynamic) with another block.
Tip 11404:Operations with attributes inside a block - fields.
Tip 11354:Animate dyn.block parameters and dim.constraints in AutoCAD DWGs.
Tip 11198:Justified attribute text in mirrored blocks (AutoCAD)
Tip 11171:Total number of layouts as a field.


Back   All CAD Tips All CAD tips&tricks

How to convert a 3DPOLYLINE to a 2DPOLYLINE (LWPOLYLINE)? « | » How to suppress the Read-Only warning on DWG file open?

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:
Simply link AutoCAD LT blocks to Excel table data.
Excellink LT 2006 More info


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.
TOPlist