Framed text, I believe, is not a well known AutoCAD feature. We all saw it in Dimension style manager dialog window, but how to put it in real work? This article + AutoLISP file can help you. We often use framed text in drafting. The common solutions: blocks with attributes or just text (MText) in rectangle. Blocks with attributes work good until you do not have extra long line of text (attribute does not fit in rectangle) or in case you need to apply stacked format to attribute or when several lines of text should be enclosed in rectangle. Also editing of attributes is not too fast. Using text with rectangle produces not good result (poor representation) because it is difficult to make perfect alignment of text inside of rectangle. Typical examples of framed text shown below:
Framed text: actually it is not a text but option available in dimension style dialog window (see the picture below).
Sure you can use framed text as a component of dimension or leader object. Either create special style for this purpose or use DIMGAP variable (should be negative). Example:
Framed text can help you save time and improve representation of the drawings. If you edit text, the frame will be automatically updated: a very simple Dynamically updated block in ACAD<2006. Am I right?...
Alex Borodulin
© NYacad, Inc. 1999-2005 http://www.nyacad.com
|