Hi Michal,
In order to keep the program manageable for presentation at AU I didn't add those features to the program.
It is possible to do all of that.
1.) It is not designed to include attribute strings, but it could, but it is not straight forward to do.
2.) It would require modifying the AU06:CountAllBlocks to not search the whole modelspace but prompt for a partial selection set.
3.) without creating a switch for xrefs, you could program it to ignore them with a single line of code or so.
in the AU06:countallblocks subroutine after
Code:
(/= (substr strBlockName 1 1) "*")
add this line
Code:
(= (vla-get-isxref objItem) :vlax-false)
P=