CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 1538

CAD tip CAD tip # 11898:

Question CAD 
 %  platform  category 
Q - question

Automatic schedule - number of blocks in a drawing.

A - answer Using the AutoCAD Data Extraction wizard (DATAEXTRACTION) you can easily create a table with an automatic counter of blocks of a specific name.

This table is then dynamically updated when you delete or add new blocks. The blocks are specified in the wizard, so their specification is stored in a DXE definition file. You can invoke the table update either manually (DATALINKUPDATE), or it is performed by default before the commands PLOT/PUBLISH, or you can add it by setting the DXEVAL variable also to the Save event.

You can schedule blocks, their layers, attributes or parameters and visibility states of dynamic blocks.

Using data extraction to create a counter is illustrated in the video:

The resulting value from this table can be then further linked to a specific property of other drawing objects (e.g. size) - see XLSparam - tip 11896 or referred (dynamically, see Insert>Expression>Cell) from a different table using a field/expression.

Another option is creating a block legend using the BLegend utility - see Tip 6724.

100% *  CAD 
30.5.2018    33498×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11896:How to drive dyn.block parameters or constraints from Excel?
Tip 8679:How to invoke updates of the data extraction table?
Tip 8677:Associative DWG table of line length totals (by layer).
Tip 6041:How to export AutoCAD drawing texts to a text file?
Tip 5636:What for are the AutoCAD .DXE files?

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   

Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D 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.