CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.

CAD tip CAD tip # 11708:

Question

CAD 
 %  platform  category 
A
Using the freeware utility TXT2BLK you can automatically convert selected single-line texts in your DWG drawing to block attributes (block references) - the blocks are inserted in the same place, with the same appearance and formatting as the original texts.

You can download the TXT2BLK utility from Download, load it with APPLOAD and run by typing the TXT2BLK command. Then just select the standard texts to convert. Nothing changes visually after the conversion, but instead of texts your drawing will contain objects of the type INSERT - i.e. block references (specifically the automatically created block "Txt2Blk_Block") with the filled value of the variable attribute "ATT1" (reflecting the original text string value). These blocks can be then included in standard workflows of attribute export and similar processes.

The command TXT2BLKZ will add elevation text based on the text's Z coordinate.

If you predefine your own block "Txt2Blk_Block" or "Txt2Blk_BlockZ", the conversion tool will use the geometry of this block (instead of plain text).

ACAD
100% *CAD
30.11.2017    23023×  
applies to: AutoCAD ·

See also:
Tip 14361:Extended ATTOUT/ATTIN for block attribute management in Excel (also for LT).
Tip 14304:How to generate a report of used blocks including their visibility status in AutoCAD LT?
Tip 14280:How to add elevation value (Z-coordinate) to texts with point numbers?
Tip 14260:How to extract attributes with tag names containing accents?
Tip 14215:IF statement in AutoCAD text fields and attributes.


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:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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