Message 1 of 3
count blocks as field in autocad

Not applicable
03-17-2020
11:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Id just like to know if there is a lisp/Diesel expression,
for counting a specific blocks then adding them as fields every time i refresh, refresh all or save the drawing.
for example i have 30 of 1 block with its specific name, I then have 31 as the legend counts in as 1 extra.
so something like this =countblocks((blockname) - 1)) and the "field" displays the number of blocks with that name(blockname) every time i refresh/refresh all/save.