Saturday, June 6, 2009

Text aligned along a line.

You have several options when you want to draw texts aligned (rotated) in a direction of existing lines (polylines, arcs, curves - e.g. utility lines, electric conductors, parcels, street network, etc.) in your AutoCAD drawings:
  1. Trivial - manually rotate (ROTATE) text by entering the rotation angle by picking two points on a line
  2. The same, only using the Perpendicular osnap - it allows to specify the direction of the baseline by picking a single point. An example of a menu macro for this function:
*^C^C_change;\;;;;;_per;\;_rotate;_p;;@;90d;
  1. Rotating your texts with a single command can by also accomplished with the Express Tool TORIENT
  2. The Align parameter in dynamic blocks also offers an automatic aligning along lines. Using this approach you can prepare a label block which automatically rotates itself when inserted on a line
  3. To label utility networks you can also use complex linetypes (linetypes with text)
  4. More advanced options for labelling lines (parcel segments, pipe networks, etc.) are available in AutoCAD Civil 3D (Label pipes, Line/Arc labels). You can define your own styles and predefined contents or generate labels automatically from the properties of the labelled line. The text reacts also to subsequent changes of the line.
  5. Using LISP applications you can automate the above mentioned methods to insert repeating texts or insert texts with a single click.

No comments:

Post a Comment