Hi Maxim,
Your answers in this thread were very helpful.
I was able to successfully implement the solution in the thread you provided and created a table that counts the number of block instances in a drawing and is able to update it via field with a diesel expression.
I also have the need to apply the solution to a file that has multiple XREFs in it.
I would like my table to have fields with sum of amount of instances of blocks across all those XREFs.
Your solution of opening each XREF is not a good fit for me since I'd like to get a sum. (And not sum it up manually).
Any ideas on LISP modification?