[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Automatically Convert Text or Mtext to Attributes
Tip# 4018 By Ricky Medley On 18-Nov-2012
0
Rated By 0 users Downloaded : 2164
Categories : Attributed Blocks
Software type : AutoCAD 2013
Rename File To : transmutation/,transmutation/ISOGEN template.dwg,transmutation/Original drawing.dwg,transmutation/Output of ISOGEN (using template).dwg,transmutation/README.DOC,transmutation/transmutation.LSP
Transfer text values into attribute values.

This AutoCAD routine from Ricky Medley is certainly one of the largest and most complex routines that Hot Tip Harry has received in recent years. You can read a a full description of this routine and detailed instructions in the included ReadMe file, but essentially, the routine moves text values from within the vicinity of a given block's attributes into the attribute value, and deletes the text in the process. One application for this program is when you have a client's drawing that has many title block entries that contain plain text exactly where the attribute should be. This program will convert the plain text/mtext to the attribute that it surrounds.

 

Average Rating:
0


User comments
Comment by Medley,Ricky
Posted on 2013-07-18 13:04:29
I could have sworn to have posted the update pertaining to blocks with only constant type attributes. But here I check again, and it's not here. Either way, it's attached, and link. http://www.caddog.net/opensource/lisp/transmutation_v0.4.lsp
Comment by Medley,Ricky
Posted on 2013-10-08 19:53:22
Updated to handle null text objects (zero length text). Thanks to David G. Hughey for pointing that out.