CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 4805:

Question

CAD 
 %  platform  category 
A
Since AutoCAD 2006 you can use dynamic blocks with attributes containing computed (dynamic) text (content).

In the dynamic block editor (BEDIT) use the "Define attribute" icon (or the ATTDEF command) and in the attribute value definition click on the icon "Insert field". In the field category select Object > BlockPlaceholder and in the properties list select the requested (watched) geometrical property of the block. You can add more parameters to the properties list (including lookup parameters) with the Parameter function (BPARAMETER) in the block editor. Such user defined named parameter will be added to the block properties list. You can also define the display format for the computed attribute.

After you insert the block this attribute (text field) will be dynamically updated on any edit of the block reference which changes its geometric properties. (use ATTSYNC to update existing block references)

ACAD2006
100% *CAD
3.1.2006    31502×  
applies to: AutoCAD 2006 ·

See also:
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
Tip 14537:Automation of AutoCAD drawing texts using fields.
Tip 14526:How to export geometry from AutoCAD DWGs to JSON files and import it back?
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14443:Connector, notch, groove, cutout or other curve- breaks - easily with dynamic blocks.


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:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools 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