CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6011

CAD tip CAD tip # 11708:

   
Question CAD 
 %  platform  category 
Q - question

How to convert texts to block attributes (references)?

A - answer 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    21019×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
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.
Tip 14138:How to hide individual block attributes - 3 methods.


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 glossary   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist